()
| 110 | } |
| 111 | |
| 112 | func (b BackoffHandler) GetBaseTime() time.Duration { |
| 113 | if b.baseTime == 0 { |
| 114 | return DefaultBaseTime |
| 115 | } |
| 116 | return b.baseTime |
| 117 | } |
| 118 | |
| 119 | // Retries returns the number of retries consumed so far. |
| 120 | func (b *BackoffHandler) Retries() int { |
no outgoing calls
no test coverage detected