Versions in this module Expand all Collapse all v0 v0.0.1 Aug 19, 2019 Changes in this version + type Collector struct + Results chan interface{} + Works chan Work + type DoWorkFunc func(job interface{}, workerID string) (result interface{}) + type Pool struct + Collector Collector + func StartPool(workerCount int, dispatcherCount int, resultsBuffer int, log *syslog.Writer) *Pool + func (p *Pool) AddWork(work Work, timeout int) error + func (p *Pool) HardStop(block bool) + func (p *Pool) NumberWorkers() int + func (p *Pool) Stop(block bool) + type Work struct + DoWork DoWorkFunc + ID string + Job interface{}