2016-10-08 01:58:37 +00:00
|
|
|
package main
|
|
|
|
|
|
|
|
type Config struct {
|
|
|
|
App struct {
|
2017-10-15 07:56:38 +00:00
|
|
|
MotdHTML string `json:"motd"`
|
|
|
|
ContentedServer string `json:"contented_server"`
|
2016-10-08 01:58:37 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
Web struct {
|
2017-02-05 23:18:21 +00:00
|
|
|
Port int `json:"port"`
|
|
|
|
BindTo string `json:"bind_to"`
|
|
|
|
Title string `json:"title"`
|
|
|
|
CustomFavicon bool `json:"custom_favicon"`
|
2017-02-05 02:37:27 +00:00
|
|
|
|
|
|
|
ExternalWebroot bool `json:"external_webroot,omitempty"`
|
2016-10-08 01:58:37 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
Hub struct {
|
2016-10-08 03:51:19 +00:00
|
|
|
Address string `json:"address"`
|
2017-11-26 06:54:03 +00:00
|
|
|
Port int `json:"port,omitempty"`
|
2016-10-08 03:51:19 +00:00
|
|
|
Tag string `json:"tag"`
|
2016-10-08 01:58:37 +00:00
|
|
|
}
|
|
|
|
}
|