``feat(socket): 完善踢人流程日志记录,添加CloseChan确保数据保存完成``
This commit is contained in:
@@ -44,6 +44,7 @@ type ClientData struct {
|
||||
Mu sync.Mutex
|
||||
ERROR_CONNUT int
|
||||
Wsmsg *WsCodec
|
||||
CloseChan chan struct{}
|
||||
}
|
||||
|
||||
func NewClientData() *ClientData {
|
||||
|
||||
Reference in New Issue
Block a user