zhangzengfei
2019-10-29 b50ab8c04f6ae6097701a2a2b0f3cd9226ad77e3
extend/config/config.go
@@ -1,8 +1,9 @@
package config
import (
   "github.com/spf13/viper"
   "log"
   "github.com/spf13/viper"
)
type server struct {
@@ -20,6 +21,8 @@
   WebVersion string `mapstructure: "webVersion"`  //web版本
   ChannelCount string `mapstructure: "channelCount"`  //通道个数
   DiskCount string `mapstructure: "diskCount"`  //硬盘个数
   SysServerPort string `mapstructure: "SysServerPort"`
}
var Server = &server{}