feat: 更新多个模块以支持新的数据结构和日志格式
This commit is contained in:
@@ -7,7 +7,7 @@ type WSClient struct {
|
||||
ID string // 客户端连接ID-随机字符串16位
|
||||
Conn *websocket.Conn // 连接实例
|
||||
LastHeartbeat int64 // 最近一次心跳消息(毫秒)
|
||||
BindUid string // 绑定登录用户ID
|
||||
BindUid int64 // 绑定登录用户ID
|
||||
SubGroup []string // 订阅组ID
|
||||
MsgChan chan []byte // 消息通道
|
||||
StopChan chan struct{} // 停止信号-退出协程
|
||||
|
||||
Reference in New Issue
Block a user