mirror of
https://github.com/netbirdio/netbird.git
synced 2026-04-20 09:16:40 +00:00
Implement dummy RemoteAddr on client conn
This commit is contained in:
12
relay/client/dialer/ws/addr.go
Normal file
12
relay/client/dialer/ws/addr.go
Normal file
@@ -0,0 +1,12 @@
|
||||
package ws
|
||||
|
||||
type WebsocketAddr struct {
|
||||
}
|
||||
|
||||
func (a WebsocketAddr) Network() string {
|
||||
return "websocket"
|
||||
}
|
||||
|
||||
func (a WebsocketAddr) String() string {
|
||||
return "websocket/unknown-addr"
|
||||
}
|
||||
Reference in New Issue
Block a user