mirror of
https://github.com/netbirdio/netbird.git
synced 2025-03-04 09:51:16 +01: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
|
|
}
|