retry

package
v0.2.13 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2025 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Call

func Call(retryCount int, f func() error, doRetryFuncs ...func(err error) bool) error

func GetOne

func GetOne[T any](retryCount int, f func() (T, error), doRetryFuncs ...func(err error) bool) (T, error)

func GetOneCond added in v0.2.10

func GetOneCond[T any](retryCount int, f func() (T, error), doRetryFunc func(t T, err error) bool) (T, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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