Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Getter ¶
type Throttler ¶
type Throttler interface {
Throttle(f func())
}
type Throttlers ¶
type Throttlers interface {
Throttle(k string, f func())
}
func NewThrottlers ¶
func NewThrottlers(max uint64) Throttlers
Source Files
¶
- getter.go
- limiter.go
Click to show internal directories.
Click to hide internal directories.