Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Hub ¶
Hub is responsible for piping messages to all registered channels
func (*Hub) DeregisterChannel ¶
DeregisterChannel removes the channel from the list of channels to write to
func (*Hub) RegisterChannel ¶
RegisterChannel registers the specified channel with the specified topics
func (*Hub) SendMessage ¶
SendMessage publishes a message to all matching channels registered to the topic
Click to show internal directories.
Click to hide internal directories.