Documentation
¶
Overview ¶
Package worker implements a worker pool.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Job ¶
type Job struct { Data interface{} Result interface{} Error error }
Job is one unit of work. It is given to a Func, and the returned result and error are stored in Result and Error.
Click to show internal directories.
Click to hide internal directories.