ExponentialBackoff Type — fiber Architecture
Architecture documentation for the ExponentialBackoff type/interface in exponential_backoff.go from the fiber codebase.
Entity Profile
Dependency Diagram
graph TD 199cc030_4b13_907b_28b9_8ff9a683a4ca["ExponentialBackoff"] 8d9e2d11_b2e2_c9a3_6b3e_0aab1fd11114["exponential_backoff.go"] 199cc030_4b13_907b_28b9_8ff9a683a4ca -->|defined in| 8d9e2d11_b2e2_c9a3_6b3e_0aab1fd11114 style 199cc030_4b13_907b_28b9_8ff9a683a4ca fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
addon/retry/exponential_backoff.go lines 10–26
type ExponentialBackoff struct {
// InitialInterval is the initial time interval for backoff algorithm.
InitialInterval time.Duration
// MaxBackoffTime is the maximum time duration for backoff algorithm. It limits
// the maximum sleep time.
MaxBackoffTime time.Duration
// Multiplier is a multiplier number of the backoff algorithm.
Multiplier float64
// MaxRetryCount is the maximum number of retry count.
MaxRetryCount int
// currentInterval tracks the current sleep time.
currentInterval time.Duration
}
Defined In
Source
Frequently Asked Questions
What is the ExponentialBackoff type?
ExponentialBackoff is a type/interface in the fiber codebase, defined in addon/retry/exponential_backoff.go.
Where is ExponentialBackoff defined?
ExponentialBackoff is defined in addon/retry/exponential_backoff.go at line 10.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free