time

package
v2.24.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MaxTime = time.Unix(1<<63-62135596801, 999999999)

MaxTime = 292277024627-12-06 15:30:07.999999999 +0000 UTC

View Source
var MinTime = time.Unix(0, 0)

MinTime = 1970-01-01 00:00:00 +0000 UTC

Functions

func GetRandomDelayGenerator added in v2.5.0

func GetRandomDelayGenerator(interval time.Duration) func() time.Duration

func Unix

func Unix(sec int64, nsec int64) time.Time

func UnixNano

func UnixNano(t time.Time) int64

func UnixSec added in v2.23.0

func UnixSec(t time.Time) int64

Types

This section is empty.

Jump to

Keyboard shortcuts

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