package
0.0.0-20170324174408-748f5db8ce8c
Repository: https://github.com/virrages/chirp.git
Documentation: pkg.go.dev
# Functions
NewWorkerPool creates new instance of `WorkerPool`.
# Structs
Result is struct to represent result of Task, which is either some kind of value or error if any occured.
WorkerPool is struct to represent pool of workers to which one can send task and receive results.
# Interfaces
Task represents abstract type to hold any value which will be delieverd to workers as a value to process.