sunty
2019-11-19 d9e01c51a525adf4f2393a95f87604e3b6e79ad2
extend/config/config.go
@@ -26,8 +26,9 @@
   ChannelCount    string `mapstructure: "channelCount"`    //通道个数
   DiskCount       string `mapstructure: "diskCount"`       //硬盘个数
   SysServerPort string      `mapstructure: "sysServerPort"`
   SudoPassword  string      `mapstructure: "sudoPassword"` //系统密码
   SysThresholds []threshold `mapstructure: "sysThresholds"`
   PTZSpeed      int         `mapstructure: "ptzSpeed"` // 云台移动速度
}
var Server = &server{}
@@ -39,10 +40,7 @@
}
type esindexlist struct {
   VideoPersons   index `mapstructure:"videopersons"`
   DbTables       index `mapstructure:"dbtables"`
   Dbtablepersons index `mapstructure:"dbtablepersons"`
   Personaction   index `mapstructure:"personaction"`
   AiOcean   index `mapstructure:"aiOcean"`
}
type index struct {
   IndexName string `mapstructure:"index"`