Documentation ¶
Index ¶
- func NewCancelHandler(ds datastore.Datastore, b mq.Broker) job.HandlerFunc
- func NewCompletedHandler(ds datastore.Datastore, b mq.Broker, mw ...job.MiddlewareFunc) task.HandlerFunc
- func NewErrorHandler(ds datastore.Datastore, b mq.Broker, mw ...job.MiddlewareFunc) task.HandlerFunc
- func NewHeartbeatHandler(ds datastore.Datastore) node.HandlerFunc
- func NewJobHandler(ds datastore.Datastore, b mq.Broker, mw ...task.MiddlewareFunc) job.HandlerFunc
- func NewLogHandler(ds datastore.Datastore) func(p *tork.TaskLogPart)
- func NewPendingHandler(ds datastore.Datastore, b mq.Broker) task.HandlerFunc
- func NewStartedHandler(ds datastore.Datastore, b mq.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 mq.Broker, mw ...job.MiddlewareFunc) task.HandlerFunc
func NewErrorHandler ¶
func NewErrorHandler(ds datastore.Datastore, b mq.Broker, mw ...job.MiddlewareFunc) task.HandlerFunc
func NewHeartbeatHandler ¶
func NewHeartbeatHandler(ds datastore.Datastore) node.HandlerFunc
func NewJobHandler ¶
func NewJobHandler(ds datastore.Datastore, b mq.Broker, mw ...task.MiddlewareFunc) job.HandlerFunc
func NewLogHandler ¶ added in v0.1.63
func NewLogHandler(ds datastore.Datastore) func(p *tork.TaskLogPart)
func NewPendingHandler ¶
func NewStartedHandler ¶
func NewStartedHandler(ds datastore.Datastore, b mq.Broker, mw ...job.MiddlewareFunc) task.HandlerFunc
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.