mirror of
https://github.com/netbirdio/netbird.git
synced 2026-04-21 01:36:46 +00:00
Implement dummy RemoteAddr on client conn
This commit is contained in:
@@ -40,11 +40,11 @@ func (c *Conn) Write(b []byte) (n int, err error) {
|
||||
}
|
||||
|
||||
func (c *Conn) RemoteAddr() net.Addr {
|
||||
panic("RemoteAddr is not implemented")
|
||||
return WebsocketAddr{}
|
||||
}
|
||||
|
||||
func (c *Conn) LocalAddr() net.Addr {
|
||||
panic("LocalAddr is not implemented")
|
||||
return WebsocketAddr{}
|
||||
}
|
||||
|
||||
func (c *Conn) SetReadDeadline(t time.Time) error {
|
||||
|
||||
Reference in New Issue
Block a user