mirror of
https://github.com/netbirdio/netbird.git
synced 2025-06-03 00:25:37 +02:00
18 lines
202 B
Go
18 lines
202 B
Go
package ws
|
|
|
|
const (
|
|
Network = "ws"
|
|
)
|
|
|
|
type WebsocketAddr struct {
|
|
addr string
|
|
}
|
|
|
|
func (a WebsocketAddr) Network() string {
|
|
return Network
|
|
}
|
|
|
|
func (a WebsocketAddr) String() string {
|
|
return a.addr
|
|
}
|