新增聊天功能
This commit is contained in:
@@ -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)}
|
||||
Reference in New Issue
Block a user