typo
This commit is contained in:
parent
63cef6ee15
commit
d4088edc1a
8
main.go
8
main.go
@ -46,7 +46,7 @@ var (
|
|||||||
ownUserID32 = int32(0)
|
ownUserID32 = int32(0)
|
||||||
lastOwnTDMsg time.Time
|
lastOwnTDMsg time.Time
|
||||||
MQCWMsgQueue chan ChatWarsMessage
|
MQCWMsgQueue chan ChatWarsMessage
|
||||||
MQTDCmdQueue chan TDCommand
|
MQTGCmdQueue chan TGCommand
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
@ -127,15 +127,15 @@ func main() {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
MQTDCmdQueue = make(chan TDCommand, 100)
|
MQTGCmdQueue = make(chan TGCommand, 100)
|
||||||
for w := 1; w <= 3; w++ {
|
for w := 1; w <= 3; w++ {
|
||||||
go MQReceiveMsgWorker(w, MQTDCmdQueue)
|
go MQReceiveMsgWorker(w, MQTGCmdQueue)
|
||||||
}
|
}
|
||||||
|
|
||||||
lastOwnTDMsg = time.Now()
|
lastOwnTDMsg = time.Now()
|
||||||
|
|
||||||
go ListenCW(client)
|
go ListenCW(client)
|
||||||
go ListenMQ(client, MQTDCmdQueue)
|
go ListenMQ(client, MQTGCmdQueue)
|
||||||
go ListenMe(client)
|
go ListenMe(client)
|
||||||
|
|
||||||
fmt.Println("Started !")
|
fmt.Println("Started !")
|
||||||
|
Loading…
Reference in New Issue
Block a user