Versions in this module Expand all Collapse all v1 v1.5.0 Aug 28, 2023 Changes in this version + func CtxGo(ctx context.Context, f func()) + func Go(f func()) + func RegisterPool(p Pool) error + func SetCap(cap int32) + func SetPanicHandler(f func(context.Context, interface{})) + func WorkerCount() int32 + type Config struct + ScaleThreshold int32 + func NewConfig() *Config + type Pool interface + CtxGo func(ctx context.Context, f func()) + Go func(f func()) + Name func() string + SetCap func(cap int32) + SetPanicHandler func(f func(context.Context, interface{})) + WorkerCount func() int32 + func GetPool(name string) Pool + func NewPool(name string, cap int32, config *Config) Pool