Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterHandler ¶
func RegisterHandler()
func RegisterTransport ¶
func RegisterTransport()
Types ¶
type Handler ¶
type Handler struct { rpchttp.Handler Pool core.WorkerPool OnAccept func(*websocket.Conn) *websocket.Conn OnClose func(*websocket.Conn) OnError func(*websocket.Conn, error) }
func (*Handler) BindContext ¶
BindContext to the websocket server.
func (*Handler) ServeFastHTTP ¶ added in v3.0.6
func (h *Handler) ServeFastHTTP(ctx *fasthttp.RequestCtx)
ServeFastHTTP implements the fasthttp.RequestHandler.
Click to show internal directories.
Click to hide internal directories.