time

package
v1.129.0 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2024 License: Unlicense Imports: 1 Imported by: 6

Documentation

Index

Constants

View Source
const (
	// Timeout as a general guidance of the maximum time any operation should take.
	Timeout = 30 * time.Second

	// Backoff as a general guidance of the scalar time any retry should take.
	Backoff = 100 * time.Millisecond
)

Variables

This section is empty.

Functions

func ToMilliseconds

func ToMilliseconds(duration time.Duration) int64

ToMilliseconds from the duration.

Types

This section is empty.

Jump to

Keyboard shortcuts

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