Back to godoc.org
go.aporeto.io/manipulate / internal / backoff

package backoff

v1.114.0
Latest Go to latest
Published: Oct 7, 2019 | License: Apache-2.0 | Module: go.aporeto.io/manipulate

Index

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