# Functions
Backoff returns the amount of time to wait before the next retry given the number of retries.
New returns a backoff function configured via functional options applied to DefaultConfig.
NewWithAutoReset returns a backoff function configured via functional options applied to DefaultConfig.
NewWithReset returns a backoff and a reset function configured via functional options applied to DefaultConfig.
SetAfterForT sets the after internal function for testing.
SetRandFloatForT sets the random float internal function for testing.
With configures the backoff with the provided config.
WithFastConfig configures the backoff with FastConfig.
WithPeriodicConfig configures the backoff with periodic backoff.
# Variables
DefaultConfig is a backoff configuration with the default values specified at https://github.com/grpc/grpc/blob/master/doc/connection-backoff.md.
FastConfig is a common configuration for fast backoff.