retry

package
v1.1.7 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2023 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Overview

Package retry contains utils methods .

Index

Constants

View Source
const DefaultRetryTimeout = time.Second

DefaultRetryTimeout is the default timeout used for retry.

Variables

This section is empty.

Functions

func AwaitForPort

func AwaitForPort(host, port string, timeout time.Duration) error

AwaitForPort awaits for the port within the timeout.

func WithTimeout

func WithTimeout(operation func() error, timeout time.Duration) error

WithTimeout retries the operation within the timout.

Types

This section is empty.

Jump to

Keyboard shortcuts

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