github.com/googleapis/gax-go/v2.Backoff.cur (field)
8 uses
github.com/googleapis/gax-go/v2 (current package)
call_option.go#L113: cur time.Duration
call_option.go#L121: if bo.cur == 0 {
call_option.go#L122: bo.cur = bo.Initial
call_option.go#L134: d := time.Duration(1 + rand.Int63n(int64(bo.cur)))
call_option.go#L135: bo.cur = time.Duration(float64(bo.cur) * bo.Multiplier)
call_option.go#L136: if bo.cur > bo.Max {
call_option.go#L137: bo.cur = bo.Max
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |