utils

package
v1.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 20, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Exponential

func Exponential(d time.Duration) time.Duration

Exponential doubles d, applies ±50 % jitter, and caps the result at one minute. It is used by RetryWithCallback to implement exponential backoff between retry attempts.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL