Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct { // Must be positive. Zero means default. Min time.Duration // Must be positive. Zero means default. Max time.Duration // Must be >= 1.0. Zero means default. Grow float64 // Must be >= 1.0. Zero means default. Jitter float64 // Zero means default, negative means unlimited. MaxAttempts int64 }
func (*Options) FillDefaults ¶
func (o *Options) FillDefaults()
Click to show internal directories.
Click to hide internal directories.