完善小游戏逻辑

This commit is contained in:
2024-10-18 22:42:58 +08:00
parent 8a8a6e0bfa
commit 83dfff5aa4
5 changed files with 162 additions and 123 deletions
+2 -4
View File
@@ -3,11 +3,9 @@ package global
import "work_cation/models"
type SendGlobal struct {
SendChan chan *models.Message
Game1Chan chan *models.GameMessage
SendChan chan *models.Message
}
var Send = &SendGlobal{
SendChan: make(chan *models.Message, 1000),
Game1Chan: make(chan *models.GameMessage, 1000),
SendChan: make(chan *models.Message, 1000),
}