Back to / internal / backoff

package backoff

Latest Go to latest
Published: Oct 7, 2019 | License: Apache-2.0 | Module:


func Next

func Next(try int, deadline time.Time) time.Duration

Next computes the next backoff time for a give try number with a hard given deadline.

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier