nmdc-webfrontend/Config.go

25 lines
470 B
Go
Raw Normal View History

2016-10-08 01:58:37 +00:00
package main
type Config struct {
App struct {
Name string `json:"name"`
Version string `json:"version"`
MotdHTML string `json:"motd"`
2016-10-08 01:58:37 +00:00
}
Web struct {
Port int `json:"port"`
BindTo string `json:"bind_to"`
Extern string `json:"extern"`
Title string `json:"title"`
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
}
}