更新root.go

This commit is contained in:
haidy 2018-05-11 14:21:02 +08:00
parent c008b14d0f
commit 626dbaa92c

View File

@ -101,6 +101,10 @@ func Execute() {
}
}
func RunFrpc(cfgFilePath string) (err error) {
return runClient(cfgFilePath)
}
func handleSignal(svr *client.Service) {
ch := make(chan os.Signal)
signal.Notify(ch, syscall.SIGINT, syscall.SIGTERM)