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