retry

package
v0.2.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 3, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package retry provides client-side retry middleware for transient failures.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Client

func Client(opts ...Option) middleware.Middleware

Types

type Option

type Option func(*options)

func WithBackoff

func WithBackoff(d time.Duration) Option

func WithMaxAttempts

func WithMaxAttempts(n int) Option

func WithRetryable

func WithRetryable(fn func(error) bool) Option

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL