BackoffPolicy is a default Backoffer implementation
| 17 | |
| 18 | // BackoffPolicy is a default Backoffer implementation |
| 19 | type BackoffPolicy struct { |
| 20 | ms []int |
| 21 | } |
| 22 | |
| 23 | // Backoff implements Backoffer |
| 24 | func (b BackoffPolicy) Backoff(n int) time.Duration { |
nothing calls this directly
no outgoing calls
no test coverage detected