Remove Request.RemoteAddr helper method

This commit is contained in:
Adnan Maolood 2021-02-28 21:52:41 -05:00
parent 19f1d6693e
commit 4b92c71839

View File

@ -119,11 +119,3 @@ func (r *Request) ServerName() string {
}
return ""
}
// RemoteAddr returns the remote network address of the client.
func (r *Request) RemoteAddr() net.Addr {
if r.conn != nil {
return r.conn.RemoteAddr()
}
return nil
}