更新root.go
This commit is contained in:
parent
c008b14d0f
commit
626dbaa92c
@ -101,6 +101,10 @@ func Execute() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func RunFrpc(cfgFilePath string) (err error) {
|
||||||
|
return runClient(cfgFilePath)
|
||||||
|
}
|
||||||
|
|
||||||
func handleSignal(svr *client.Service) {
|
func handleSignal(svr *client.Service) {
|
||||||
ch := make(chan os.Signal)
|
ch := make(chan os.Signal)
|
||||||
signal.Notify(ch, syscall.SIGINT, syscall.SIGTERM)
|
signal.Notify(ch, syscall.SIGINT, syscall.SIGTERM)
|
||||||
|
Loading…
Reference in New Issue
Block a user