Documentation
¶
Index ¶
Constants ¶
View Source
const ( // RetryMaxAttempts sets the maximum number of attempts when retrying RetryMaxAttempts = 10 // RetryBackoffFactor sets the exponential backoff factor on wait duration RetryBackoffFactor = 2 // RetryBackoffMax sets the maximum wait duration between retry attempts RetryBackoffMax = 10000 // milliseconds )
Variables ¶
This section is empty.
Functions ¶
func RetryWithBackoff ¶
RetryWithBackoff implements a retry-loop with an expontential backoff algorithm
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.