zhangqian
2023-08-15 550bd8a218224e6c73201f444387d66a299f438b
conf/config.go
@@ -5,6 +5,7 @@
   "apsClient/pkg/logx"
   "apsClient/pkg/mysqlx"
   "apsClient/pkg/redisx"
   "apsClient/pkg/sqlitex"
   "flag"
   "github.com/spf13/viper"
   "log"
@@ -80,6 +81,12 @@
      ApsServer string
   }
   nsqConf struct {
      NodeId         string
      NsqdAddr       string
      NsqlookupdAddr string
   }
   config struct {
      // 系统配置
      System System
@@ -89,6 +96,9 @@
      // mysql配置
      Mysql mysqlx.Conf
      // mysql配置
      Sqlite sqlitex.Conf
      // redis配置
      Redis redisx.Conf
@@ -110,6 +120,8 @@
      //Services Address
      Services Services
      NsqConf nsqConf
   }
)