Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StartWebSockSvr ¶
Types ¶
type TWebSockHub ¶
type TWebSockHub struct {
// contains filtered or unexported fields
}
TWebSockHub maintains the set of active clients and broadcasts messages to the clients.
type TWebsocketSession ¶
type TWebsocketSession struct {
// contains filtered or unexported fields
}
TWebsocketSession is a middleman between the websocket connection and the hub.
Click to show internal directories.
Click to hide internal directories.