Add connection.String

This commit is contained in:
Matt Joiner 2019-10-01 21:16:18 +10:00
parent 2885426e7e
commit 79e54b9233
1 changed files with 4 additions and 0 deletions

View File

@ -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)
}