Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var WorkerChannel = make(chan chan *Job)
Functions ¶
This section is empty.
Types ¶
type Collector ¶
type Collector struct { Work chan *Job // receives jobs to send to workers End chan bool // when receives bool stops workers // contains filtered or unexported fields }
func StartDispatcher ¶
func (Collector) GetStatistics ¶
func (c Collector) GetStatistics() *JobStatistics
type JobStatistics ¶
Click to show internal directories.
Click to hide internal directories.