backoffutils

package
v0.0.0-...-a91edef Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2017 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Backoff Helper Utilities

Implements common backoff features.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func JitterUp

func JitterUp(duration time.Duration, jitter float64) time.Duration

JitterUp adds random jitter to the duration.

This adds or substracts time from the duration within a given jitter fraction. For example for 10s and jitter 0.1, it will returna time within [9s, 11s])

Types

This section is empty.

Jump to

Keyboard shortcuts

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