Skip to content

Latest commit

 

History

History
33 lines (18 loc) · 1.24 KB

README.md

File metadata and controls

33 lines (18 loc) · 1.24 KB

workerpool

License MIT Go Reference Go Report Card Maintainability Test Coverage

This Go Module contains an implementation of a workerpool which can get expanded & shrink dynamically. Workers can get added when needed and get dismissed when no longer are needed. Of-course this workerpool can be used just as a simple one with a fixed size.

Examples can be seen inside documents.

add as dependency modult

In the go.mod file of your code:

module github.com/user/project

go 1.15

require (
	github.com/dc0d/workerpool/v5 v5.0.1

    ...
)

And in the code, import it as:

import "github.com/dc0d/workerpool/v5"