Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RateLimiter ¶
type RateLimiter struct { sync.Mutex //@TODO : RWMutex ? // contains filtered or unexported fields }
func NewUnlimited ¶
func NewUnlimited() *RateLimiter
func (*RateLimiter) Cleanup ¶
func (rl *RateLimiter) Cleanup(t time.Duration)
Click to show internal directories.
Click to hide internal directories.