| 52 | } |
| 53 | |
| 54 | type ExampleCustomBackoffStrategy struct { |
| 55 | interval time.Duration |
| 56 | } |
| 57 | |
| 58 | func (c *ExampleCustomBackoffStrategy) CalculateInterval() time.Duration { |
| 59 | return c.interval + 1 |
nothing calls this directly
no outgoing calls
no test coverage detected