Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/YSZhuoyang/go-dispatcher
/ types & classes
Types & classes
10 in github.com/YSZhuoyang/go-dispatcher
⨍
Functions
26
◇
Types & classes
10
Interface
Dispatcher
Dispatcher internally maintains a worker pool and runs a job dispatching loop assigning jobs to workers available.
dispatcher/dispatcher.go:12
Interface
Job
Job defines a task, which is given to a dispatcher to be executed by a worker with a separate goroutine
dispatcher/job.go:7
Struct
_DelayedJob
dispatcher/job.go:11
Struct
_Dispatcher
dispatcher/dispatcher.go:30
Struct
_EmptyJob
dispatcher/job.go:18
Struct
_FinishSignal
dispatcher/job.go:16
Struct
_Worker
Worker is registered in a worker pool waiting for jobs and execute them.
dispatcher/worker.go:6
Struct
dispatcherError
dispatcher/error.go:3
Struct
testBigJob
dispatcher/dispatcher_test.go:20
Struct
testJob
dispatcher/dispatcher_test.go:12