Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewWebsocketHubMiddleware ¶
func NewWebsocketHubMiddleware() fw.IMiddlewareCtl
func NewWebsocketMiddleware ¶
func NewWebsocketMiddleware() fw.IMiddlewareMethod
Types ¶
type WebsocketHubMiddleware ¶
type WebsocketHubMiddleware struct { *fw.MiddlewareCtl // contains filtered or unexported fields }
WebsocketHubMiddleware used for chat
func (*WebsocketHubMiddleware) Execute ¶
func (w *WebsocketHubMiddleware) Execute(ctx *fw.MiddlewareContext) fw.HandlerFunc
func (*WebsocketHubMiddleware) Router ¶
func (w *WebsocketHubMiddleware) Router(ctx *fw.MiddlewareContext) []*fw.RouteItem
type WebsocketMiddleware ¶
type WebsocketMiddleware struct { *fw.MiddlewareMethod // contains filtered or unexported fields }
WebsocketMiddleware used for simple websocket communication with server
func (*WebsocketMiddleware) Execute ¶
func (w *WebsocketMiddleware) Execute(ctx *fw.MiddlewareContext) fw.HandlerFunc
Click to show internal directories.
Click to hide internal directories.