Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
Conn *websocket.Conn
ClientId string `json:"clientId"`
Username string `json:"username"`
RoomId string `json:"roomId"`
Message chan *Message
}
func (*Client) ReadMessage ¶
func (*Client) WriteMessage ¶
func (c *Client) WriteMessage()
type Hub ¶
Click to show internal directories.
Click to hide internal directories.