Documentation ¶
Overview ¶
Package backoff provides backoff function controller
Package backoff provides backoff function controller
Index ¶
- type Backoff
- type Option
- func WithBackOffFactor(f float64) Option
- func WithBackOffTimeLimit(dur string) Option
- func WithDisableErrorLog() Option
- func WithEnableErrorLog() Option
- func WithInitialDuration(dur string) Option
- func WithJitterLimit(dur string) Option
- func WithMaximumDuration(dur string) Option
- func WithRetryCount(c int) Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Backoff ¶
type Option ¶
type Option func(*backoff)
func WithBackOffFactor ¶
func WithBackOffTimeLimit ¶
func WithDisableErrorLog ¶
func WithDisableErrorLog() Option
func WithEnableErrorLog ¶
func WithEnableErrorLog() Option
func WithInitialDuration ¶
func WithJitterLimit ¶
func WithMaximumDuration ¶
func WithRetryCount ¶
Click to show internal directories.
Click to hide internal directories.