client: add start params

Proxy names specified in 'start' params divided by ',' will be started.
If it is empty or not defined, all proxies will be started.
This commit is contained in:
fatedier committed 2017-05-25 01:45:38 +08:00
1 parent 150682ec63
commit 49b503c17b
5 files changed
+31 -9

No files matched your search

+1 -1
View File
@@ -106,7 +106,7 @@ func main() {
}
}
pxyCfgs, err := config.LoadProxyConfFromFile(conf)
pxyCfgs, err := config.LoadProxyConfFromFile(config.ClientCommonCfg.User, conf, config.ClientCommonCfg.Start)
if err != nil {
fmt.Println(err)
os.Exit(1)