tclock

package
v0.0.0-...-9b3b26b Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var IsStoreTime bool = false
View Source
var StoredTimeClock atomic.Int64

Functions

func GetTimestampMilli

func GetTimestampMilli() int64

func GetTimestampSecond

func GetTimestampSecond() int64

func GetYesterdayZeroTime

func GetYesterdayZeroTime() int64

func InitTimeClock

func InitTimeClock()

func SetExpireAtMilli

func SetExpireAtMilli(duration int64) int64

func SetTimestampMilli

func SetTimestampMilli(time int64) int64

func SetTtlMilliToSec

func SetTtlMilliToSec(time int64) int64

Types

This section is empty.

Jump to

Keyboard shortcuts

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