type Timeout … // Update the timeout with the current error state. func (b *Timeout) Update(ok bool) { … } // Next returns the next operation timeout given the disposition of err. func (b *Timeout) Next() time.Duration { … }
type Timeout … // Update the timeout with the current error state. func (b *Timeout) Update(ok bool) { … } // Next returns the next operation timeout given the disposition of err. func (b *Timeout) Next() time.Duration { … }