Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterRoutes ¶
RegisterRoutes registers the websocket route to the passed router
Types ¶
type WebSocketClient ¶
type WebSocketClient struct { Conn *websocket.Conn AuthDetails authtocontext.AuthDetails User *models.User ServerSideEvents chan hub.ServerSideEvent // contains filtered or unexported fields }
WebSocketClient is the server-side client of a websocket connection started by a request
Click to show internal directories.
Click to hide internal directories.