Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddSubscriber ¶
func AddSubscriber() chan string
Function to add a subscriber (client waiting for an event)
func NotifySubscribers ¶
Function to notify all subscribers with a message
Types ¶
Click to show internal directories.
Click to hide internal directories.