retryutil

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RetryWrapper

type RetryWrapper struct {
	*retry.Retry
}

func (*RetryWrapper) CalcFailureDelay

func (rw *RetryWrapper) CalcFailureDelay(failureCount int) time.Duration

func (*RetryWrapper) DoFailureDelay

func (rw *RetryWrapper) DoFailureDelay(ctx context.Context, failureCount int) bool

Jump to

Keyboard shortcuts

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