mirror of
https://github.com/netbirdio/netbird.git
synced 2026-04-17 15:56:39 +00:00
14 lines
367 B
Go
14 lines
367 B
Go
package wsproxy
|
|
|
|
import "errors"
|
|
|
|
// ProxyPath is the standard path where the WebSocket proxy is mounted on servers.
|
|
const ProxyPath = "/ws-proxy"
|
|
|
|
// Common errors
|
|
var (
|
|
ErrConnectionTimeout = errors.New("WebSocket connection timeout")
|
|
ErrConnectionFailed = errors.New("WebSocket connection failed")
|
|
ErrBackendUnavailable = errors.New("backend unavailable")
|
|
)
|