MCPcopy Create free account
hub / github.com/assembla/cony / BackoffPolicy

Struct BackoffPolicy

backoff.go:19–21  ·  view source on GitHub ↗

BackoffPolicy is a default Backoffer implementation

Source from the content-addressed store, hash-verified

17
18// BackoffPolicy is a default Backoffer implementation
19type BackoffPolicy struct {
20 ms []int
21}
22
23// Backoff implements Backoffer
24func (b BackoffPolicy) Backoff(n int) time.Duration {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected