Documentation ¶
Index ¶
- Variables
- type JobMap
- func (m *JobMap) Get(name string) queue.JobFunc
- func (m *JobMap) GetMap() map[string]queue.JobFunc
- func (m *JobMap) Invoke(name string, args ...any) error
- func (m *JobMap) Register(jobs ...queue.IJob) queue.IJobMap
- func (m *JobMap) RegisterWithName(name string, fn queue.JobFunc) queue.IJobMap
- func (m *JobMap) Registers(fns map[string]queue.JobFunc) queue.IJobMap
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrJobNotFound = errors.New("the job is undefined with this name")
Functions ¶
This section is empty.
Types ¶
type JobMap ¶
type JobMap struct {
// contains filtered or unexported fields
}
func (*JobMap) RegisterWithName ¶
Click to show internal directories.
Click to hide internal directories.