Documentation
¶
Index ¶
Constants ¶
View Source
const MESSAGE_CHAT = "chat"
View Source
const MESSAGE_LEAVE = "leave"
View Source
const MESSAGE_LOG = "log"
View Source
const MESSAGE_NEW_LOGIN = "new_login"
Variables ¶
This section is empty.
Functions ¶
func GetRooms ¶
func GetRooms() map[string][]*WebSocketConnection
func HandleRooms ¶
func HandleRooms(w http.ResponseWriter, r *http.Request)
Types ¶
type SocketPayload ¶
type SocketResponse ¶
type WebSocketConnection ¶
Click to show internal directories.
Click to hide internal directories.