1
This commit is contained in:
@@ -72,6 +72,10 @@ func handleConn(c net.Conn) error {
|
||||
}
|
||||
return err
|
||||
}
|
||||
globals.SugarLogger.Debugf("======buffer := %s", string(buffer))
|
||||
globals.SugarLogger.Debugf("======n := %d", n)
|
||||
globals.SugarLogger.Debugf("======LocalAddr := %s", c.LocalAddr().String())
|
||||
globals.SugarLogger.Debugf("======RemoteAddr := %s", c.RemoteAddr().String())
|
||||
|
||||
//看是心跳还是打印回调
|
||||
data := hex.EncodeToString(buffer[:n])
|
||||
|
||||
Reference in New Issue
Block a user