Access to net.Conn methods. Cannot just embed net.Conn because that would export the struct field too. LocalAddr returns the local network address.
()
| 149 | |
| 150 | // LocalAddr returns the local network address. |
| 151 | func (c *Conn) LocalAddr() net.Addr { |
| 152 | return c.conn.LocalAddr() |
| 153 | } |
| 154 | |
| 155 | // RemoteAddr returns the remote network address. |
| 156 | func (c *Conn) RemoteAddr() net.Addr { |
nothing calls this directly
no outgoing calls
no test coverage detected