Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoJob = errors.New("nothing to do")
ErrNoJob is the error used when there is nothing to do.
Functions ¶
Types ¶
type Config ¶
type Config struct {
Workers int // number of workers
Verbose bool // verbose flag
WaitBeforeStart bool // wait 3 seconds before starting
ProgressBar bool // display progress bar
}
Config describes the configuration of a job queue.
type Job ¶
type Job struct {
// contains filtered or unexported fields
}
Job defines a list of tasks to execute.
Click to show internal directories.
Click to hide internal directories.