Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Pool ¶
type Pool struct {
// contains filtered or unexported fields
}
Pool is a lightweight concurrency limiter around a semaphore.
func NewPool ¶
func NewPool(cfg config.WorkerConfig) *Pool
NewPool creates a new pool from configuration.
Click to show internal directories.
Click to hide internal directories.