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