Skip to content

Commit

Permalink
Readme update
Browse files Browse the repository at this point in the history
  • Loading branch information
robotamer committed Jan 31, 2023
1 parent b598eb2 commit 802118a
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
[![GoDoc](https://img.shields.io/badge/GoDoc-Reference-blue?style=for-the-badge&logo=go)](https://pkg.go.dev/github.com/gotamer/ntpc?tab=doc)

This is a fork of Vladimir Vivien's go-ntp-client. (Thank you Vladimir)
I added a syslog and local date update.

I use it to periodicly update my linux laptop system time.
On my system it runs once an hour via a cron job.


# 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).
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).
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).

0 comments on commit 802118a

Please sign in to comment.