package
Version:
v1.1.0
Opens a new window with list of versions in this module.
Published: Dec 19, 2024
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Task defines the methods that all tasks should implement.
type WorkerDriver interface {
Name() string
Init(app *core.App, config interface{}) error
Enqueue(job Job, params interface{}) error
RegisterJobHandlers(handlers ...Job)
JobHandlerExists(handler Job) bool
Close() error
Run(handlers ...Job) error
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.