Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConnectionForRoom ¶ added in v1.3.0
type ConnectionWithRoom ¶ added in v1.3.0
type ConnectionWithRoom struct { Room string C *connection }
type Hub ¶
type Hub struct {
// contains filtered or unexported fields
}
func (*Hub) Broadcast ¶
func (h *Hub) Broadcast(data *MessageForRoom)
type MessageForRoom ¶ added in v1.3.0
Click to show internal directories.
Click to hide internal directories.