refactor: code rewiew&功能小优化

This commit is contained in:
meilin.huang
2022-08-13 19:31:16 +08:00
parent 64805360d6
commit 0f54d4a472
14 changed files with 308 additions and 273 deletions

View File

@@ -56,7 +56,7 @@ func checkConn() {
// 删除ws连接
func Delete(userid uint64) {
global.Log.Info("移除websocket连接uid = ", userid)
global.Log.Debug("移除websocket连接uid = ", userid)
conn := conns[userid]
if conn != nil {
conn.Close()