Help us shape the future of Go! Take the 2026 Go Developer Survey

retry

package module
v0.2.7 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

README

retry

custom github.com/eapache/go-resiliency retrier, will do the retry on when

  • net.Error
  • Server returns 500,502/504/429 status code
  • Service returns errors.Retry error
  • Service returns unmarshalling error

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRetrier

func NewRetrier(maxRetries int, initialBackoff time.Duration) *retrier.Retrier

NewRetrier create a ExponentialBackoff retrier

Types

This section is empty.

Jump to

Keyboard shortcuts

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