timeutil

package
v1.101.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddJitterToDuration

func AddJitterToDuration(d time.Duration) time.Duration

AddJitterToDuration adds up to 10% random jitter to d and returns the resulting duration.

The maximum jitter is limited by 10 seconds.

Types

This section is empty.

Jump to

Keyboard shortcuts

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