mirror of
https://github.com/netbirdio/netbird.git
synced 2024-12-11 09:21:49 +01:00
14 lines
179 B
Go
14 lines
179 B
Go
|
package ws
|
||
|
|
||
|
type WebsocketAddr struct {
|
||
|
addr string
|
||
|
}
|
||
|
|
||
|
func (a WebsocketAddr) Network() string {
|
||
|
return "websocket"
|
||
|
}
|
||
|
|
||
|
func (a WebsocketAddr) String() string {
|
||
|
return a.addr
|
||
|
}
|