test
This commit is contained in:
parent
4d6ebb6500
commit
05f7aa05f2
6
def.go
6
def.go
@ -16,9 +16,9 @@ type MQKeepAlive struct {
|
||||
}
|
||||
|
||||
type MQClient struct {
|
||||
Connnection *amqp.Connection
|
||||
Channel *amqp.Channel
|
||||
Queue amqp.Queue
|
||||
Connection *amqp.Connection
|
||||
Channel *amqp.Channel
|
||||
Queue amqp.Queue
|
||||
}
|
||||
|
||||
type TGCommand struct {
|
||||
|
2
main.go
2
main.go
@ -109,7 +109,7 @@ func main() {
|
||||
SQLMsgIdentifyQueue = make(chan int64, 100)
|
||||
TGCmdQueue = make(chan TGCommand, 100)
|
||||
MQTGCmdQueue = make(chan TGCommand, 100)
|
||||
clientsQueue = make(map[int64]*MQQueue)
|
||||
clientsQueue = make(map[int64]*MQClient)
|
||||
clientsKeepAlive = make(map[int64]*MQKeepAlive)
|
||||
|
||||
for w := 1; w <= MQGetMsgWorkers; w++ {
|
||||
|
Loading…
Reference in New Issue
Block a user