zhangmeng
2020-01-21 9d9cd1d3b93613071d1dffc1c82c4515d2a65af6
util/data.go
@@ -1,20 +1,18 @@
package util
// FetchServerInfo 从sqlite的服务器获取同步信息的服务
// FetchServerInfo 从sqlite的服务器获取SDK信息的服务器信息
type FetchServerInfo struct {
   IP       string
   HTTPort  int
   HBPort   int //心跳端口
   DataPort int //数据端口
}
var (
   // FSI 同步服务器信息
   // FSI SDK信息服务器IP/Port
   FSI = &FetchServerInfo{
      IP:       "127.0.0.1",
      HTTPort:  8001,
      HBPort:   40007,
      DataPort: 50007,
      HBPort:   5005,
      DataPort: 4005,
   }
   // ToRuleIPC to ruleprocess
@@ -42,7 +40,6 @@
   ConfigPath = "config-path"
   FetchSrvIP            = "fetch-server-ip"
   FetchSrvPort          = "fetch-server-port"
   FetchSrvHeartbeatPort = "fetch-server-heartbeat-port"
   FetchSrvDataPort      = "fetch-server-data-port"