Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Chat client.
func (*Client) Write ¶
func (c *Client) Write(msg *WebSocketPayload)
type Message ¶
type WebSocketConnectionHandler ¶
type WebSocketConnectionHandler interface { Authorize(username, password string) auth.SessionUser MessageFromClient(message map[string]interface{}) MessageToClient(message map[string]interface{}) }
type WebSocketPayload ¶
Click to show internal directories.
Click to hide internal directories.