utils

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BackoffInitialInterval

func BackoffInitialInterval(i time.Duration) expBackoffOpt

func BackoffMaxElapsedTime

func BackoffMaxElapsedTime(i time.Duration) expBackoffOpt

func BackoffMaxInterval

func BackoffMaxInterval(i time.Duration) expBackoffOpt

func BackoffMultiplier

func BackoffMultiplier(i float64) expBackoffOpt

func BackoffRandomizationFactor

func BackoffRandomizationFactor(i float64) expBackoffOpt

func Leader

func Leader(actives []string) string

func NewBackoffTicker

func NewBackoffTicker(o ...expBackoffOpt) *backoff.Ticker

func NextIP

func NextIP(defaultIP string, ips []string) string

func RandStringRunes

func RandStringRunes(n int) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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