Semble compliqué
This commit is contained in:
18
configuration.go
Normal file
18
configuration.go
Normal file
@@ -0,0 +1,18 @@
|
||||
package main
|
||||
|
||||
type MailBoxConfiguration struct {
|
||||
Server string
|
||||
Port int
|
||||
User string
|
||||
Password string
|
||||
SSL string
|
||||
}
|
||||
type BlogConfiguration struct {
|
||||
Title string
|
||||
MailBox string
|
||||
WWWRoot string
|
||||
}
|
||||
type Configuration struct {
|
||||
MailBoxes map[string]MailBoxConfiguration
|
||||
Blogs map[string]BlogConfiguration
|
||||
}
|
Reference in New Issue
Block a user