package
0.0.0-20241223090118-035fcd7fed56
Repository: https://github.com/ibiscum/hands-on-software-engineering-with-golang.git
Documentation: pkg.go.dev

# Functions

NewRetryingDialer returns a new dialer that wraps dialFunc with a retry layer that waits between attempts using an exponential back-off algorithm.

# Variables

ErrMaxRetriesExceeded is returned by the retrying dialer to indicate that a connection was not possible after the configured number of max attempts.

# Structs

RetryingDialer wraps a DialFunc with an exponential back-off retry mechanism.

# Type aliases

DialFunc describes any function that can be invoked to dial a remote host.