//
pkg.gl
Category
github.com/qwenode/tailscale
logtail
backoff
package
5.0.0+incompatible
Repository:
https://github.com/qwenode/tailscale.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
4
Dependents
0
Files
64 SLOC
#
Functions
NewBackoff
NewBackoff returns a new Backoff timer with the provided name (for logging), logger, and max backoff time.
#
Structs
Backoff
Backoff tracks state the history of consecutive failures and sleeps an increasing amount of time, up to a provided limit.