The highest tagged major version is
v2 .
Discover Packages
github.com/grpc-ecosystem/go-grpc-middleware
util
backoffutils
package
Version:
v1.4.0
Opens a new window with list of versions in this module.
Published: Mar 15, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 49
Opens a new window with list of known importers.
Documentation
Documentation
¶
Backoff Helper Utilities
Implements common backoff features.
ExponentBase2 computes 2^(a-1) where a >= 1. If a is 0, the result is 0.
JitterUp adds random jitter to the duration.
This adds or subtracts time from the duration within a given jitter fraction.
For example for 10s and jitter 0.1, it will return a time within [9s, 11s])
Source Files
¶
Click to show internal directories.
Click to hide internal directories.