Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultWorkers = 2113 DefaultJobSize = 64 )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Dispatcher ¶
type Dispatcher struct {
// contains filtered or unexported fields
}
func (*Dispatcher) Schedule ¶
func (d *Dispatcher) Schedule(j *schedule.Job)
type OptionFunc ¶
type OptionFunc func(o *Option)
func WithMaxWorker ¶
func WithMaxWorker(maxWorker int) OptionFunc
Click to show internal directories.
Click to hide internal directories.