package backoff
Import Path
google.golang.org/grpc/backoff (on go.dev)
Dependency Relation
imports one package, and imported by 3 packages
Involved Source Files
Package backoff provides configuration options for backoff.
More details can be found at:
https://github.com/grpc/grpc/blob/master/doc/connection-backoff.md.
All APIs in this package are experimental.
Package-Level Type Names (only one)
Config defines the configuration options for backoff.
BaseDelay is the amount of time to backoff after the first failure.
Jitter is the factor with which backoffs are randomized.
MaxDelay is the upper bound of backoff delay.
Multiplier is the factor with which to multiply backoffs after a
failed retry. Should ideally be greater than 1.
var DefaultConfig
Package-Level Variables (only one)
DefaultConfig is a backoff configuration with the default values specified
at https://github.com/grpc/grpc/blob/master/doc/connection-backoff.md.
This should be useful for callers who want to configure backoff with
non-default values only for a subset of the options.
![]() |
The pages are generated with Golds v0.8.2. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |