sunty
2024-09-05 78c5692e45a4357adffb864dfe105fa36c814ed3
config/config.go
@@ -42,12 +42,13 @@
}
type api struct {
   Host          string `mapstructure: "host"`
   Port          string `mapstructure: "port"`
   TimeThreshold int    `mapstructure:"timeThreshold"`
   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{}