package
0.0.0-20240924001700-ae0dd7773f17
Repository: https://github.com/coinbase/chainstorage.git
Documentation: pkg.go.dev
# Functions
New creates a new instance of Retry that works with `func(ctx context.Context) error`.
NewWithResult creates a new instance of RetryWithResult that works with `func(ctx context.Context) (T, error)`.
RateLimit returns an error that indicates that the operation should be retried after a delay.
Retryable returns an error that indicates that the operation should be retried.
ToRetryWithResult converts Retry to RetryWithResult[struct{}].
WithBackoffFactory sets the backoff factory.
WithLogger sets the logger.
WithMaxAttempts sets the maximum number of attempts.
Wrap wraps the given operation with retry functionalities.
WrapWithResult wraps the given operation with retry functionalities.
# Constants
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
# Type aliases
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author