Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClientConnection ¶
func ClientConnection(hub *Hub, w http.ResponseWriter, r *http.Request)
ClientConnection connects client to the server
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is a middleman between the websocket connection and the hub.
Click to show internal directories.
Click to hide internal directories.