package
Version:
v0.0.3
Opens a new window with list of versions in this module.
Published: Mar 22, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package retry provides a simple retry utility with exponential backoff.
Do retries fn up to cfg.MaxAttempts times with exponential backoff.
Returns the last error if all attempts fail.
Config holds retry configuration.
DefaultConfig returns a reasonable default retry configuration.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.