新增聊天功能

This commit is contained in:
2024-10-14 17:40:11 +08:00
parent 99ed84f534
commit 245875881c
13 changed files with 360 additions and 12 deletions
+9
View File
@@ -0,0 +1,9 @@
package global
import "work_cation/models"
type SendGlobal struct {
SendChan chan *models.Message
}
var Send = &SendGlobal{SendChan: make(chan *models.Message, 1000)}