https://github.com/vladimirvivien/go-ntp-client
A Network Time Protocol client in Go
https://github.com/vladimirvivien/go-ntp-client
Last synced: 6 months ago
JSON representation
A Network Time Protocol client in Go
- Host: GitHub
- URL: https://github.com/vladimirvivien/go-ntp-client
- Owner: vladimirvivien
- License: mit
- Created: 2017-12-29T14:56:45.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2020-05-20T18:18:10.000Z (over 5 years ago)
- Last Synced: 2025-04-04T02:11:34.573Z (6 months ago)
- Language: Go
- Size: 4.88 KB
- Stars: 51
- Watchers: 4
- Forks: 12
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# A trivial NTP Client
This repository is an implementation of a (really) trivial NTP client in Go. It uses the `encoding/binary` package to encode and decode NTP packets sent to and received from a remote NTP server over UDP. You can learn more about NTP here, read the specs RFC5905, and find a (seemingly) way better Go NTP client, with many features implemented, [here](https://github.com/beevik/ntp).The code is explained in this writeup titled [Let's make an NTP client in Go](https://medium.com/learning-the-go-programming-language/lets-make-an-ntp-client-in-go-287c4b9a969f).