Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNTPQueryFailed = errors.New("NTP query failed")
ErrNTPQueryFailed is returned if an NTP query failed.
Functions ¶
func FetchTimeOffset ¶
FetchTimeOffset establishes the difference in local vs network time. This difference is stored in offset so that it can be used to adjust the local clock.
func SyncedTime ¶
SyncedTime gets the synchronized time (according to the network) of a node.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.