Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
EventChannel = make(chan protocol.EventMsg, 100)
)
Functions ¶
func RegisterClient ¶
RegisterClient adds a client after successful auth.
func RemoveClient ¶
RemoveClient removes a disconnected client.
func SetSubscription ¶
SetSubscription updates the client's subscription patterns.
Types ¶
type ClientConn ¶
ClientConn represents a connected client.
Click to show internal directories.
Click to hide internal directories.