Versions in this module Expand all Collapse all v0 v0.2.0 Dec 1, 2025 v0.1.0 Nov 28, 2025 Changes in this version + func Loop(action Action, strategies ...Strategy) error + func Retry(action Action, strategies ...Strategy) (uint, error) + type Action func() error + type Retrier interface + Retry func(action Action) (uint, error) + func NewRetrier(strategies ...Strategy) Retrier + type Strategy func(attempts uint, err error) bool + func Backoff(strategy backoff.Strategy, maxBackoff time.Duration) Strategy + func BackoffWithJitter(strategy backoff.Strategy, maxBackoff time.Duration, jitter float64) Strategy + func Limit(maxAttempts uint) Strategy + func NonRetriableErrors(nonRetriableErrors ...error) Strategy + func NonRetriableGRPCCodes(nonRetriableCodes ...codes.Code) Strategy + func RetriableErrors(retriableErrors ...error) Strategy + func RetriableGRPCCodes(retriableCodes ...codes.Code) Strategy