retry_util

package
v0.0.0-...-4ad4c41 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsRetryFailure

func IsRetryFailure(err error) bool

func Retry

func Retry(interval time.Duration, maxRetries int, f ConditionFunc) error

Types

type ConditionFunc

type ConditionFunc func() (bool, error)

type RetryError

type RetryError struct {
	// contains filtered or unexported fields
}

func (*RetryError) Error

func (err *RetryError) Error() string

Jump to

Keyboard shortcuts

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