timer

package
v0.17.3 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const Resolution = 500 * time.Millisecond

Resolution is the frequency at which time is updated. Default 500ms are precise enough for setting I/O deadlines

Variables

View Source
var Time = new(atomic.Int64)

Time contains the unix-time in milliseconds updated every Resolution milliseconds

Functions

func Now

func Now() time.Time

Types

This section is empty.

Jump to

Keyboard shortcuts

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