//
pkg.gl
Category
github.com/caicaispace/gohelper
worker
package
0.2.2
Repository:
https://github.com/caicaispace/gohelper.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
0
Dependents
0
Files
98 SLOC
#
Functions
NewDispatcher
NewDispatcher returns a new dispatcher.
NewJob
NewJob returns a new job.
NewWorker
NewWorker returns a new worker.
#
Structs
Dispatcher
Dispatcher is a job dispatcher.
Worker
Worker is a worker that executes a job.
#
Interfaces
Job
Job is a job to be run.
#
Type aliases
JobFunc
// JobFunc is a function that implements the Job interface.