package
Version:
v0.0.1
Opens a new window with list of versions in this module.
Published: Mar 23, 2016
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 2
Opens a new window with list of known importers.
Documentation
¶
WrapPutWebsocketConn wraps func(Conn) to func(*websocket.Conn)
Conn describes a connection's behaviour
type Hub interface {
PutConn(Conn)
Broadcast([]byte)
Len() int
}
Hub maintains active connections and broadcast messages
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.