Versions in this module Expand all Collapse all v0 v0.2.0 Jul 26, 2023 v0.1.0 Nov 6, 2022 Changes in this version + func Retry(ctx context.Context, f func(ctx context.Context) (T, error), opts ...Option) (T, error) + type Option struct + func Attempts(x int) Option + func Indefinitely() Option + func Log(f func(error, int, time.Duration)) Option + func MaxDelay(d time.Duration) Option + func MinDelay(d time.Duration) Option + func Retryable(f func(error) bool) Option