retry

package
v0.0.0-...-1eaaa5a Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const MaxRetries uint64 = 3

Variables

This section is empty.

Functions

func Ping

func Ping(ctx context.Context, pool Pool, retries uint64) error

Types

type Pool

type Pool interface {
	Ping(ctx context.Context) error
	Close()
}

Jump to

Keyboard shortcuts

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