timeutil

package
v2.1.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2019 License: Apache-2.0 Imports: 1 Imported by: 18

Documentation

Overview

Package timeutil provides time utility functions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExpBackoff

func ExpBackoff(prev, max time.Duration) time.Duration

ExpBackoff doubles the backoff time, if the result is longer than the parameter max, max will be returned.

Types

This section is empty.

Jump to

Keyboard shortcuts

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