util

package
v3.4.1 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const BACKOFF_CAP = time.Duration(6 * time.Hour)
View Source
const BACKOFF_INTERVAL = time.Duration(TWENTY_SECONDS)
View Source
const TWENTY_SECONDS = 20 * time.Second

Variables

This section is empty.

Functions

func CalcBackoff

func CalcBackoff(attempts int) time.Duration

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳