//
pkg.gl
Category
github.com/go-gremlins/gremlins
internal
engine
workerpool
package
0.5.0
Repository:
https://github.com/go-gremlins/gremlins.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
3
Dependents
1
Files
93 SLOC
#
Functions
Initialize
Initialize creates a new Pool with a name and the number of parallel workers it will use.
NewWorker
NewWorker instantiates a new worker with an ID and name.
#
Structs
Pool
Pool manages and limits the number of concurrent Worker.
Worker
Worker takes an executor and starts the actual executor.
#
Interfaces
Executor
Executor is the unit of work that executes a task.