Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Scheduler ¶
Scheduler is an interface type to provide an abstraction around load-balancing operation scheduling.
func New ¶
New builds a new Scheduler object. It starts its internal scheduling process in the background. This scheduling process makes sure that all available workers are always running in the background waiting for the work units to come in. New takes a single paramter: nworkers - a number of background workers.
Click to show internal directories.
Click to hide internal directories.