Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { // The websocket connection. Conn *websocket.Conn // Buffered channel of outbound messages. Send chan []byte }
Client is a middleman between the websocket connection and the hub.
func (*Client) WaitMessages ¶
func (c *Client) WaitMessages()
Click to show internal directories.
Click to hide internal directories.