Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Broadcast = make(chan string)
View Source
var Clients = make(map[string]*websocket.Conn) // Note: although large maps with pointer-like types (e.g. strings) as keys are slow, using pointers themselves as keys is acceptable and fast
View Source
var Register = make(chan Client)
View Source
var SendMesssage = make(chan Message)
View Source
var Unregister = make(chan string)
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.