package
0.0.1
Repository: https://github.com/simia-tech/netx.git
Documentation: pkg.go.dev

# Functions

ConstantBackoff creates a BackoffFn that always returns the provided duration.
LinearBackoff creates a BackoffFn that raises the returned duration after some failures from the provided lower to upper bound.
NewFilter returns a new blacklist filter.

# Structs

Filter implements a blacklist filter.

# Type aliases

BackoffFn defines a function that calculates the duration after which an endpoint is removed from the blacklist, based on the provided number of failures.