Documentation
¶
Overview ¶
Package clock corrects the local clock by an NTP offset and sets the process time zone.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Corrected timeshim.Clock = corrected{}
Corrected is Now as a timeshim.Clock, for libraries that take one. Its timers run on durations, which the offset does not change.
Functions ¶
func SetNtpInterval ¶
func SetNtpServer ¶
func SetNtpServer(server string)
func SetTimezone ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.