mirror of
https://github.com/prometheus/node_exporter.git
synced 2024-11-15 18:14:17 -08:00
.. | ||
CONTRIBUTORS | ||
LICENSE | ||
ntp.go | ||
README.md |
ntp
The ntp package is a small implementation of a limited NTP client. It requests the current time from a remote NTP server according to selected version of the NTP protocol. Client uses version 4 of the NTP protocol RFC5905 by default.
The approach was inspired by a post to the go-nuts mailing list by Michael Hofmann:
https://groups.google.com/forum/?fromgroups#!topic/golang-nuts/FlcdMU5fkLQ