Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultRetries = 5
DefaultRetries is a constant for the maximum number of retries we usually do. However, callers of Retry are free to choose a different number.
Variables ¶
This section is empty.
Functions ¶
func AbortRetry ¶
AbortRetry aborts any further attempts of retrying an operation.
If err is passed Retry returns the passed error. If nil is passed, Retry returns nil.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.