Add connection.String
This commit is contained in:
parent
2885426e7e
commit
79e54b9233
|
@ -1560,3 +1560,7 @@ func (c *connection) remoteIp() net.IP {
|
|||
func (c *connection) remoteIpPort() IpPort {
|
||||
return c.remoteAddr
|
||||
}
|
||||
|
||||
func (c *connection) String() string {
|
||||
return fmt.Sprintf("%p", c)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue