ntp

package
v1.10.3-0...-ec03cfc Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2021 License: LGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckLocalTimeAccurate

func CheckLocalTimeAccurate(ntpServer string) (bool, error)

CheckLocalTimeAccurate returns whether the local clock accurate or not

func CurrentTime

func CurrentTime(ntpServer string) time.Time

CurrentTime return the current time calibrated using ntp server

Types

This section is empty.

Jump to

Keyboard shortcuts

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