kirill-scherba / workerpool

Worker pool package create and use a worker pool to limit the number of goroutines

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Worker pool

There is golang package to create and use a worker pool to limit the number of Goroutines that run at the same time in Go application.

GoDoc Go Report Card

Basic usage example

Look example at example folder:

go run ./examples/workerpool

Or run this example in playground: https://go.dev/play/p/QOEHdA2RiPm

Licence

BSD

About

Worker pool package create and use a worker pool to limit the number of goroutines

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Go 100.0%