zhangmeng
2019-12-23 0ac66394c30360a0e48460ac8cb7367c0122f774
update
1个文件已修改
8 ■■■■ 已修改文件
main.go 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
main.go
@@ -30,8 +30,6 @@
    ruleIPC string
    configPath string
    showConsole bool
)
const (
@@ -50,8 +48,6 @@
    flag.BoolVar(&shm, util.SHM, false, "use shm for performance")
    flag.IntVar(&gpu, util.GPU, -1, "gpu index")
    flag.BoolVar(&showConsole, "log-console", false, "log show console, only for debug")
    // 指定获取配置信息从sqlite,有最高优先级, master使用
    flag.StringVar(&util.FSI.IP, util.FetchSrvIP, util.FSI.IP, "fetch server ip, like camera info")
@@ -72,9 +68,7 @@
        logo.Config(file, 500, 3, 30)
        logo.Infoln("START LOGGER FILE: ", file)
    }
    if showConsole {
        logo.ShowConsole()
    }
    logo.ShowConsole()
}
func setParamters() {