package
0.0.0-20220215024344-e6d77e20f5fb
Repository: https://github.com/huangjunwen/golibs.git
Documentation: pkg.go.dev

# Functions

IdleTime sets the idle time after which a non-persistent worker go routine should exit.
MaxWorkers sets maximum worker go routines.
MinWorkers sets minimum worker go routines.
Must creates a LimitedRunner or panic.
New creates a new LimitedRunner.
QueueSize sets the task buffered channel.

# Constants

Default idle time for non-persistent worker before quit.
Default maximum go routines to handle tasks.
Default minimum go routines to handle tasks.
Default queue size.

# Structs

LimitedRunner implements taskrunner interface.

# Type aliases

Option is the option in creating LimitedRunner.