Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExponentialDelay ¶
type ExponentialDelay struct {
// contains filtered or unexported fields
}
func NewExponentialDelay ¶
func NewExponentialDelay(cfg *Config) *ExponentialDelay
func (*ExponentialDelay) Reset ¶
func (d *ExponentialDelay) Reset()
func (*ExponentialDelay) Step ¶
func (d *ExponentialDelay) Step() time.Duration
type VariableTicker ¶
type VariableTicker struct { C chan struct{} // contains filtered or unexported fields }
func New ¶
func New(delay Delay, opts ...Option) *VariableTicker
func (*VariableTicker) Reset ¶
func (t *VariableTicker) Reset()
func (*VariableTicker) Stop ¶
func (t *VariableTicker) Stop()
Click to show internal directories.
Click to hide internal directories.