Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConSequential ¶
ConSequential is short for CONcurrent SEQUENTIAL
func NewConSequential ¶
func NewConSequential(config *Config) (*ConSequential, error)
NewConSequential creates a new ConSequential struct
func (*ConSequential) Start ¶
func (cs *ConSequential) Start() error
Start starts workers concurrently
type Config ¶
type Config struct { StartJobID uint32 EndJobID uint32 JobBufSize uint32 WorkerPoolSize uint32 MaxWorkerFails uint32 WorkerStartInterval time.Duration RunJob RunJob FinishJob FinishJob }
Config is the ConSequential config.
Click to show internal directories.
Click to hide internal directories.