Documentation
¶
Index ¶
- type Tasker
- func (t *Tasker) Add(required task.Schedule, optionals ...task.Schedule) (err error)
- func (t *Tasker) Archive(task task.Task) (err error)
- func (t *Tasker) Failed(_ task.Task) (err error)
- func (t *Tasker) Pop() task.Task
- func (t *Tasker) Remove(schedule task.Schedule) (err error)
- func (t *Tasker) Run() (err error)
- func (t *Tasker) Running(id uint64, status task.Status, times uint32) (err error)
- func (t *Tasker) Start(_ context.Context) (err error)
- func (t *Tasker) Stop(_ context.Context) (err error)
- func (t *Tasker) Update(id uint64, status task.Status, runtime time.Time) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.