node_exporter/vendor/github.com/beevik/ntp
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Tobias Schmidt 33f99c4fc1 Vendor all dependencies
Uses godep to vendor dependencies. Godeps is not necessary during build,
golang's new vendor support is used instead.
2016-01-21 16:41:53 -05:00
..
LICENSE Vendor all dependencies 2016-01-21 16:41:53 -05:00
ntp.go Vendor all dependencies 2016-01-21 16:41:53 -05:00
README.md Vendor all dependencies 2016-01-21 16:41:53 -05:00

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