zhangzengfei
2024-09-28 b1d7efd8c4ab9c4bf56f62e636a358a5182c09bf
config/config.go
@@ -42,11 +42,13 @@
}
type api struct {
   Host      string `mapstructure: "host"`
   Port      string `mapstructure: "port"`
   CsTimes   int    `mapstructure:"csTimes"`
   CsHours   int    `mapstructure:"csHours"`
   AInterval int    `mapstructure:"aInterval"`
   Host                 string `mapstructure: "host"`
   Port                 string `mapstructure: "port"`
   CapAddrDaysThreshold int    `mapstructure:"capAddrDaysThreshold"`
   TimeThreshold        int    `mapstructure:"timeThreshold"`
   CsTimes              int    `mapstructure:"csTimes"`
   CsHours              int    `mapstructure:"csHours"`
   AInterval            int    `mapstructure:"aInterval"`
}
var LogConf = &LogConfig{}