Access to net.Conn methods. Cannot just embed net.Conn because that would export the struct field too. LocalAddr returns the local network address.
()
| 133 | |
| 134 | // LocalAddr returns the local network address. |
| 135 | func (c *Conn) LocalAddr() net.Addr { |
| 136 | return c.conn.LocalAddr() |
| 137 | } |
| 138 | |
| 139 | // RemoteAddr returns the remote network address. |
| 140 | func (c *Conn) RemoteAddr() net.Addr { |
no outgoing calls
no test coverage detected