package
module
Version:
v0.0.0-...-e3067e5
Opens a new window with list of versions in this module.
Published: Jan 3, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 3
Opens a new window with list of known importers.
Documentation
¶
Now returns ntp time using the DefaultClient or just the localhost time.
DefaultClient variable when set by the user to a non-nil value will make Now
to use time from that particular ntp server.
New creates an NTP client using the given NTP server.
Close stops the NTP server.
Now queries the NTP server and returns the ntp time.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.