Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrRetryFailed = errors.New("callback was not able 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.
View Source
var Logger logger.Interface = logger.Default
Logger is the package logger.
Functions ¶
func NewLimiter ¶
NewLimiter returns throttler with rateLimit requests per minute. optionally caller may specify the boost
Types ¶
Click to show internal directories.
Click to hide internal directories.