19 lines
328 B
Go
19 lines
328 B
Go
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
|
|
}
|