Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JobFunc ¶
type JobFunc func(...interface{}) (interface{}, error)
JobFunc represents the user-defined function to do some type of work.
type Pool ¶
type Pool struct {
In chan *Job
Out chan *Job
Stats struct {
Submitted int64
Pending int64
Running int64
Completed int64
}
// contains filtered or unexported fields
}
Pool manages and distributes work to the workers
Click to show internal directories.
Click to hide internal directories.