package
module
Version:
v0.0.0-...-578f553
Opens a new window with list of versions in this module.
Published: Dec 31, 2015
License: MIT
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Register a job to be kicked off upon starting the server.
Start all jobs and listen to requests.
A Broker broadcasts events to multiple clients.
NewBroker creates a Broker instance.
Start managing client connections and event broadcasts.
An Event contains the widget ID, a body of data,
and an optional target (only "dashboard" for now).
type Job interface {
Work(send chan *Event)
}
A Job does periodic work and sends events to a channel.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.