Versions in this module Expand all Collapse all v0 v0.2.0 Aug 16, 2026 Changes in this version + func ConnValue(c net.Conn) (any, bool) + func FromContext(ctx context.Context) (any, bool) + func ServerCredentials() credentials.TransportCredentials + type AuthInfo struct + Value any + func (AuthInfo) AuthType() string + type HandshakeError struct + Err error + Status string + StatusCode int + func (e *HandshakeError) Error() string + func (e *HandshakeError) Unwrap() error type ServerConfig + OnUpgrade func(*http.Request) (any, error) + type UpgradeError struct + Code int + Err error + Message string + func (e *UpgradeError) Error() string + func (e *UpgradeError) Unwrap() error + type ValueConn interface + UpgradeValue func() any v0.1.0 Aug 7, 2026 Changes in this version + func DialOption(wsURL string, cfg ClientConfig) (grpc.DialOption, error) + func HandlerListener(cfg ServerConfig) (http.Handler, net.Listener) + func ListenWebSocket(addr string, cfg ServerConfig) (net.Listener, error) + type ClientConfig struct + HTTPHeader http.Header + Logger *log.Logger + Subprotocols []string + TLSConfig *tls.Config + type ServerConfig struct + Logger *log.Logger + OriginPatterns []string + Path string + TLSConfig *tls.Config