Versions in this module Expand all Collapse all v1 v1.0.0 Nov 4, 2020 Changes in this version + type WebSocketServer struct + func NewWebSocketServer(handler func(ws *transport.WebSocketTransport, request *http.Request)) *WebSocketServer + func (server *WebSocketServer) Bind(cfg WebSocketServerConfig) + type WebSocketServerConfig struct + CertFile string + HTMLRoot string + Host string + KeyFile string + Port int + WebSocketPath string + func DefaultConfig() WebSocketServerConfig