config/config.go
@@ -39,8 +39,11 @@ } type api struct { Host string `mapstructure: "host"` Port string `mapstructure: "port"` Host string `mapstructure: "host"` Port string `mapstructure: "port"` CsTimes int `mapstructure:"csTimes"` CsHours int `mapstructure:"csHours"` AInterval int `mapstructure:"aInterval"` } var LogConf = &LogConfig{}