This commit is contained in:
zhouyuyan
2017-08-31 11:59:21 +08:00
parent 0f5659c061
commit f9c85bb251
9 changed files with 120 additions and 9 deletions

View File

@@ -15,7 +15,11 @@ func main() {
return
}
broker := broker.NewBroker(config)
broker, err := broker.NewBroker(config)
if err != nil {
log.Error("New Broker error: ", er)
return
}
broker.Start()
s := waitForSignal()