String returns a string representation of this address.
()
| 17 | |
| 18 | // String returns a string representation of this address. |
| 19 | func (r RemoteAddress) String() string { |
| 20 | backend := net.TCPAddr(r) |
| 21 | return backend.String() |
| 22 | } |
| 23 | |
| 24 | // Network returns the network type ("tcp") of this address. |
| 25 | func (r RemoteAddress) Network() string { |