nmdc-webfrontend/Config.go

24 lines
443 B
Go
Raw Permalink 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"`
Debug bool `json:"debug"`
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"`
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
}
}