| | |
| | | ruleIPC string |
| | | |
| | | configPath string |
| | | |
| | | showConsole bool |
| | | ) |
| | | |
| | | const ( |
| | |
| | | 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") |
| | |
| | | logo.Config(file, 500, 3, 30) |
| | | logo.Infoln("START LOGGER FILE: ", file) |
| | | } |
| | | if showConsole { |
| | | logo.ShowConsole() |
| | | } |
| | | logo.ShowConsole() |
| | | } |
| | | |
| | | func setParamters() { |