resilience

package
v0.0.432 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2022 License: Apache-2.0 Imports: 3 Imported by: 5

Documentation

Overview

Package resilience provides helpers for dealing with resilience.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Retry

func Retry(logger *logrusx.Logger, maxWait time.Duration, failAfter time.Duration, f func() error) (err error)

Retry executes a f until no error is returned or failAfter is reached.

Types

This section is empty.

Jump to

Keyboard shortcuts

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