type BackOff … const Stop … type ZeroBackOff … func (b *ZeroBackOff) Reset() { … } func (b *ZeroBackOff) NextBackOff() time.Duration { … } type StopBackOff … func (b *StopBackOff) Reset() { … } func (b *StopBackOff) NextBackOff() time.Duration { … } type ConstantBackOff … func (b *ConstantBackOff) Reset() { … } func (b *ConstantBackOff) NextBackOff() time.Duration { … } func NewConstantBackOff(d time.Duration) *ConstantBackOff { … }