conn.go
func (c *Conn) RemoteAddr() net.Addr {
	ws := c.ws.Load().(*websocket.Conn)
	if ws == nil {
		return nil
	}

	return ws.RemoteAddr()
}
func (c *Conn) RemoteAddr() net.Addr {
	ws := c.ws.Load().(*websocket.Conn)
	if ws == nil {
		return nil
	}

	return ws.RemoteAddr()
}
func ( c * Conn ) RemoteAddr ( ) net . Addr { ws := c . ws . Load ( ) . ( * websocket . Conn ) if ws == nil { return nil } return ws . RemoteAddr ( ) }
// RemoteAddr returns the remote network address.
RemoteAddr returns the remote network address .