Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrWrongConfig = errBase("configure error") // ErrEmptyConfig when viper not passed to params ErrEmptyConfig = fmt.Errorf("%w; empty config", ErrWrongConfig) // ErrEmptyWorkers when workers not passed to params ErrEmptyWorkers = fmt.Errorf("%w; empty workers", ErrWrongConfig) // ErrEmptyLocker when locker required, // but not passed to params ErrEmptyLocker = fmt.Errorf("%w; empty locker", ErrWrongConfig) // ErrEmptyJob when worker job is nil ErrEmptyJob = fmt.Errorf("%w; empty job", ErrWrongConfig) // ErrCreateWorker when cannot create worker ErrCreateWorker = errBase("cannot create worker") )
View Source
var Module = module.Module{ {Constructor: NewWorkersGroup}, }
Module of workers
Functions ¶
This section is empty.
Types ¶
type ConfigWorkers ¶
type Group ¶
func NewWorkersGroup ¶
NewWorkersGroup returns workers group with injected workers
Click to show internal directories.
Click to hide internal directories.