# Functions
Context set retry context config.
Retry executes the retryFunc repeatedly until it was successful or canceled by the context The default times of retries is 5 and the default duration between retries is 3 seconds.
RetryTimes set times of retry.
RetryWithCustomBackoff set abitary custom backoff strategy Play: https://go.dev/play/p/jIm_o2vb5Y4.
RetryWithExponentialWithJitterBackoff set exponential strategy backoff Play: https://go.dev/play/p/xp1avQmn16X.
RetryWithLinearBackoff set linear strategy backoff Play: https://go.dev/play/p/PDet2ZQZwcB.
# Constants
DefaultRetryDuration time duration of two retries.
DefaultRetryTimes times of retry.
# Structs
RetryConfig is config for retry.
# Interfaces
BackoffStrategy is an interface that defines a method for calculating backoff intervals.