2017-09-21 08:38:05 +00:00
|
|
|
package config
|
|
|
|
|
2017-09-22 09:20:07 +00:00
|
|
|
const (
|
|
|
|
ConfigFileName = "config.json"
|
|
|
|
)
|
|
|
|
|
2017-09-21 08:38:05 +00:00
|
|
|
var Config AllConfig
|
|
|
|
|
|
|
|
type AllConfig struct {
|
|
|
|
Domain DomainConfig `json:"domain" yaml:"domain" toml:"domain"`
|
|
|
|
Central CentralConfig `json:"central" yaml:"central" toml:"central"`
|
|
|
|
}
|