Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LocationWorker ¶
LocationWorker stream worker
func NewLocationWorker ¶
func NewLocationWorker(workers *worker.Workers, id int, label string) *LocationWorker
NewLocationWorker create a new LocationWorker
func (*LocationWorker) Command ¶
func (w *LocationWorker) Command(c int)
Command sent to this worker
func (*LocationWorker) ID ¶ added in v0.2.0
func (w *LocationWorker) ID() int
ID return label of worker
func (*LocationWorker) Label ¶ added in v0.2.0
func (w *LocationWorker) Label() string
Label return label of worker
func (*LocationWorker) Run ¶
func (w *LocationWorker) Run(wg *sync.WaitGroup, term *chan int)
Run is main function of this worker
func (*LocationWorker) Subscriptions ¶ added in v0.2.0
func (w *LocationWorker) Subscriptions() []*worker.Subscription
Subscriptions return a copy of current scubscriptions
Click to show internal directories.
Click to hide internal directories.