Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Limiter ¶
type Limiter struct {
// contains filtered or unexported fields
}
Limits the number of goroutines and allows you to wait for the worker group to complete.
func New ¶
Returns new limiter which restrains the size of worker group with number less or equal k.
Click to show internal directories.
Click to hide internal directories.