retry

package
v0.0.0-...-d272c5d Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2025 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Do

func Do(fn func(attempt int) Action) error

Types

type Action

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

func Fail

func Fail(err error) Action

func Retry

func Retry() Action

func Success

func Success() Action

Jump to

Keyboard shortcuts

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