nmdc-webfrontend/Config.go

24 lines
497 B
Go
Raw Normal View History

2016-10-08 01:58:37 +00:00
package main
type Config struct {
App struct {
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"`
ExternalWebroot bool `json:"external_webroot,omitempty"`
2016-10-08 01:58:37 +00:00
}
Hub struct {
Address string `json:"address"`
Port int `json:"port"`
Tag string `json:"tag"`
2016-10-08 01:58:37 +00:00
}
}