This commit is contained in:
邹宗楠
2022-07-27 15:43:22 +08:00
parent 5b8ee36a6e
commit 2d5c6c2090

View File

@@ -65,7 +65,7 @@ func (t *TcpClient) handleConn(c net.Conn) {
//}
//看是心跳还是打印回调
data := hex.EncodeToString(buffer[:n])
//globals.SugarLogger.Debugf("handleConn msg ....................: %v", data)
globals.SugarLogger.Debugf("handleConn msg ....................liulei: %v", data)
//证明是心跳
if strings.Contains(data, heartText) {
globals.SugarLogger.Debugf("handleConn heart: %v", data)