This commit is contained in:
shoopea 2019-06-28 14:51:44 +08:00
parent 3d3fc4e4fc
commit 80bbda20b3

View File

@ -34,6 +34,7 @@ func MQGetMsgWorker(id int, msgs chan<- ChatWarsMessage) {
//log.Printf("MQGetMsgWorker[" + strconv.Itoa(id) + "] : Connected to RabbitMQ")
log.Printf("MQGetMsgWorker["+strconv.Itoa(id)+"] : Session address : %p.\n", &s)
log.Printf("MQGetMsgWorker["+strconv.Itoa(id)+"] : Queue address : %p.\n", &s.MQQueue)
log.Printf("MQGetMsgWorker["+strconv.Itoa(id)+"] : Queue name : %s.\n", &s.MQQueue.Name)
/*
m, err := s.MQChannel.Consume(
s.MQQueue.Name, // queue