Versions in this module Expand all Collapse all v0 v0.14.6 Oct 10, 2026 v0.14.5 Oct 10, 2026 Changes in this version + const CacheControlHeaderKey + const CacheControlHeaderNoCache + const ContentLengthHeaderKey + const ContentTypeBinary + const ContentTypeHeaderKey + const ContentTypeJson + const DefaultCommandTimeout + const HttpMaxHeaderBytes + const HttpReadTimeout + const HttpTimeoutDuration + const HttpWriteTimeout + const LastModifiedHeaderKey + const TransparentGif64 + const WSStatePacketChSize + const WSStateReconnectTime + const WaveZoneFileInfoHeaderKey + const WebSocketChannelSize + var GlobalLock = &sync.Mutex + var RouteToConnMap = map[string]*StableConnInfo + var WebSocketUpgrader = websocket.Upgrader + func HandleWs(w http.ResponseWriter, r *http.Request) + func HandleWsInternal(w http.ResponseWriter, r *http.Request) error + func MakeTCPListener(serviceName string) (net.Listener, error) + func MakeUnixListener() (net.Listener, error) + func ReadLoop(conn *websocket.Conn, outputCh chan any, closeCh chan any, ...) + func RunWebServer(listener net.Listener) + func RunWebSocketServer(listener net.Listener) + func WriteJsonError(w http.ResponseWriter, errVal error) + func WriteJsonSuccess(w http.ResponseWriter, data interface{}) + func WriteLoop(conn *websocket.Conn, outputCh chan any, closeCh chan any, routeId string) + func WritePing(conn *websocket.Conn) error + type ClientActiveState struct + Active bool + Fg bool + Open bool + type StableConnInfo struct + ConnId string + LinkId baseds.LinkId + type WebFnOpts struct + AllowCaching bool + JsonErrors bool + type WebFnType = func(http.ResponseWriter, *http.Request) + func WebFnWrap(opts WebFnOpts, fn WebFnType) WebFnType