This commit is contained in:
zhouyuyan
2017-08-25 16:55:49 +08:00
parent 0ea7da1dc0
commit 5c6e136c2b
6 changed files with 201 additions and 35 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ func main() {
}
broker := broker.NewBroker(config)
broker.StartListening()
broker.Start()
s := waitForSignal()
log.Infof("signal got: %v ,broker closed.", s)