a
This commit is contained in:
@@ -2,6 +2,7 @@ package event
|
||||
|
||||
import (
|
||||
"git.rosy.net.cn/jx-callback/business/model"
|
||||
"git.rosy.net.cn/jx-callback/globals"
|
||||
"net"
|
||||
"regexp"
|
||||
"sync"
|
||||
@@ -138,6 +139,7 @@ func (t *TcpClient) delConn(key string) {
|
||||
func (t *TcpClient) addConn(c net.Conn, key string, status int) {
|
||||
t.Lock()
|
||||
defer t.Unlock()
|
||||
globals.SugarLogger.Debugf("addConn key: %s", key)
|
||||
t.Clients[key] = &PrintInfo{
|
||||
C: c,
|
||||
Status: status,
|
||||
|
||||
Reference in New Issue
Block a user