Documentation ¶
Index ¶
- func NewCancelHandler(ds datastore.Datastore, b broker.Broker) job.HandlerFunc
- func NewCompletedHandler(ds datastore.Datastore, b broker.Broker, mw ...job.MiddlewareFunc) task.HandlerFunc
- func NewErrorHandler(ds datastore.Datastore, b broker.Broker, mw ...job.MiddlewareFunc) task.HandlerFunc
- func NewHeartbeatHandler(ds datastore.Datastore) node.HandlerFunc
- func NewJobHandler(ds datastore.Datastore, b broker.Broker, mw ...task.MiddlewareFunc) job.HandlerFunc
- func NewJobSchedulerHandler(ds datastore.Datastore, b broker.Broker, l locker.Locker) (func(ctx context.Context, s *tork.ScheduledJob) error, error)
- func NewLogHandler(ds datastore.Datastore) func(p *tork.TaskLogPart)
- func NewPendingHandler(ds datastore.Datastore, b broker.Broker) task.HandlerFunc
- func NewProgressHandler(ds datastore.Datastore, onJob job.HandlerFunc) task.HandlerFunc
- func NewStartedHandler(ds datastore.Datastore, b broker.Broker, mw ...job.MiddlewareFunc) task.HandlerFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCancelHandler ¶
func NewCompletedHandler ¶
func NewCompletedHandler(ds datastore.Datastore, b broker.Broker, mw ...job.MiddlewareFunc) task.HandlerFunc
func NewErrorHandler ¶
func NewErrorHandler(ds datastore.Datastore, b broker.Broker, mw ...job.MiddlewareFunc) task.HandlerFunc
func NewHeartbeatHandler ¶
func NewHeartbeatHandler(ds datastore.Datastore) node.HandlerFunc
func NewJobHandler ¶
func NewJobHandler(ds datastore.Datastore, b broker.Broker, mw ...task.MiddlewareFunc) job.HandlerFunc
func NewJobSchedulerHandler ¶ added in v0.1.109
func NewLogHandler ¶ added in v0.1.63
func NewLogHandler(ds datastore.Datastore) func(p *tork.TaskLogPart)
func NewPendingHandler ¶
func NewProgressHandler ¶ added in v0.1.91
func NewProgressHandler(ds datastore.Datastore, onJob job.HandlerFunc) task.HandlerFunc
func NewStartedHandler ¶
func NewStartedHandler(ds datastore.Datastore, b broker.Broker, mw ...job.MiddlewareFunc) task.HandlerFunc
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.