package util // FetchServerInfo 从sqlite的服务器获取SDK信息的服务器信息 type FetchServerInfo struct { IP string HBPort int //心跳端口 DataPort int //数据端口 } var ( // FSI SDK信息服务器IP/Port FSI = &FetchServerInfo{ IP: "127.0.0.1", HBPort: 5005, DataPort: 4005, } // ToRuleIPC to ruleprocess ToRuleIPC = "ipc:///tmp/sdk-2-rules-process.ipc" // MapParames map params MapParames = make(map[string]string) // LogFile log LogFile string ) const ( FeatAll = "all" FeatFace = "face" FeatYolo = "yolo" FakeSdkID = "FakeSdkID" ) const ( GPU = "gpu" SHM = "shm" LogIt = "logit" ConfigPath = "config-path" FetchSrvIP = "fetch-server-ip" FetchSrvHeartbeatPort = "fetch-server-heartbeat-port" FetchSrvDataPort = "fetch-server-data-port" RuleIPC = "rule-ipc" )