mirror of
https://github.com/netbirdio/netbird.git
synced 2024-11-25 01:23:22 +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
|
||
|
}
|