nmdc-webfrontend/Config.go
2017-02-06 16:20:31 +13:00

23 lines
439 B
Go

package main
type Config struct {
App struct {
MotdHTML string `json:"motd"`
}
Web struct {
Port int `json:"port"`
BindTo string `json:"bind_to"`
Title string `json:"title"`
CustomFavicon bool `json:"custom_favicon"`
ExternalWebroot bool `json:"external_webroot,omitempty"`
}
Hub struct {
Address string `json:"address"`
Port int `json:"port"`
Tag string `json:"tag"`
}
}