This commit is contained in:
zhouyuyan
2017-08-25 15:28:41 +08:00
parent 0bc226d071
commit 0ea7da1dc0
8 changed files with 91 additions and 25 deletions
+7 -1
View File
@@ -9,7 +9,13 @@ import (
)
func main() {
broker := broker.NewBroker()
config, er := broker.LoadConfig()
if er != nil {
log.Error("Load Config file error: ", er)
return
}
broker := broker.NewBroker(config)
broker.StartListening()
s := waitForSignal()