Add wasm client

This commit is contained in:
Viktor Liu
2025-08-16 16:44:16 +02:00
parent dbefa8bd9f
commit 6d99d451d6
55 changed files with 2525 additions and 87 deletions

13
util/wsproxy/constants.go Normal file
View File

@@ -0,0 +1,13 @@
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")
)