Versions in this module Expand all Collapse all v0 v0.0.2 Sep 7, 2024 v0.0.1 Sep 2, 2024 Changes in this version + func Retry(retryableFunc RetryableFuncWithResponse, options ...RetryOption) (*http.Response, error) + type OnRetryFunc func(attempt uint, err error) + type RetryConfig struct + type RetryIfFunc func(error) bool + type RetryOption func(*RetryConfig) + func WithBackoff(backoff time.Duration) RetryOption + func WithMaxJitter(maxJitter time.Duration) RetryOption + func WithOnRetry(onRetry OnRetryFunc) RetryOption + func WithRetries(retries uint) RetryOption + func WithRetryIf(retryIf RetryIfFunc) RetryOption + type RetryableFuncWithResponse func() (*http.Response, error) + type Timer interface + After func(time.Duration) <-chan time.Time