Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NextWithCurve

func NextWithCurve(try int, deadline time.Time, curve []time.Duration) time.Duration

    NextWithCurve computes the next backoff time for a given try number, optional (non zero) hard deadline using the given backoffs curve.

    Types

    This section is empty.

    Source Files