RemoteAddr returns the net.Addr of the client side of the connection.
()
| 95 | |
| 96 | // RemoteAddr returns the net.Addr of the client side of the connection. |
| 97 | func (s *Session) RemoteAddr() net.Addr { |
| 98 | return s.sess.RemoteAddr() |
| 99 | } |
| 100 | |
| 101 | // LocalAddr returns the net.Addr of the server side of the connection. |
| 102 | func (s *Session) LocalAddr() net.Addr { |
nothing calls this directly
no test coverage detected