MCPcopy
hub / github.com/duke-git/lancet / TestCustomBackoffStrategy

Struct TestCustomBackoffStrategy

retry/retry_test.go:162–164  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

160}
161
162type TestCustomBackoffStrategy struct {
163 interval time.Duration
164}
165
166func (c *TestCustomBackoffStrategy) CalculateInterval() time.Duration {
167 return c.interval + 1

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected