Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrRetryFailed = errors.New("callback was unable to complete without errors within the allowed number of retries")
ErrRetryFailed is returned if number of retry attempts exceeded the retry attempts limit and function wasn't able to complete without errors.
Functions ¶
func NewLimiter ¶
NewLimiter returns throttler with rateLimit requests per minute. optionally caller may specify the boost
func SetMaxAllowedWaitTime ¶ added in v2.3.3
SetMaxAllowedWaitTime sets the maximum time to wait for a transient error.
Types ¶
Click to show internal directories.
Click to hide internal directories.