Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var EmptyStat = Stat{}
Functions ¶
This section is empty.
Types ¶
type ExponentialOption ¶
func WithJitter ¶
func WithJitter(j float64) ExponentialOption
func WithMaxDelay ¶
func WithMaxDelay(d time.Duration) ExponentialOption
func WithMinDelay ¶
func WithMinDelay(d time.Duration) ExponentialOption
func WithMultiplier ¶
func WithMultiplier(m float64) ExponentialOption
type RetryLimitError ¶
func (RetryLimitError) Error ¶
func (e RetryLimitError) Error() string
type Strategy ¶
func NewExponentialStrategy ¶
func NewExponentialStrategy(opts ...ExponentialOption) (Strategy, error)
func NewStaticStrategy ¶ added in v0.0.16
Click to show internal directories.
Click to hide internal directories.