ntp

package
v1.9.11 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

View Source
const (
	MIN_LIMIT float64 = 100. // in milliseconds
)

Variables

This section is empty.

Functions

func Initialize

func Initialize(host string, timeLeapMillis float64) error

Initialize defines the default NTP host and maximum time leap (in milliseconds) between the current machine and the NTP server time NB: Must be initialized before

func Time

func Time(host string) (time.Time, error)

Time ...

Types

This section is empty.

Jump to

Keyboard shortcuts

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