time

module
v0.0.0-...-b56da86 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 1, 2024 License: Apache-2.0

README

Time

lint test codecov Go Report Card GitHub go.mod Go version GoDoc License

Contents

Documentation

Collection of Meta's Time Libraries such as NTP and PTP

cmd

All executables provided by this repo.

NTP

NTP-specific libraries, including protocol implementation.

PTP

PTP-specific libraries, including protocol implementation.

Leaphash

Utility package for computing the hash value of the official leap-second.list document

leapsectz

Utility package for obtaining leap second information from the system timezone database

PHC

Library to work with PTP Hardware Clock (PHC).

Timestamp

Library to work with NIC hardware/software timestamps.

oscillatord

Implementation of monitoring protocol used by Orolia oscillatord.

Calnex

Command line tool and library for a Calnex Sentinel device.

fbclock

Client C library and Go daemon to provide TrueTime API based on PTP time.

servo

Pi servo library

clock

Wrapper around CLOCK_ADJTIME syscall

License

time is licensed under Apache 2.0 as found in the LICENSE file.

Directories

Path Synopsis
calnex
api
cmd
Package clock contains a wrapper around CLOCK_ADJTIME syscall.
Package clock contains a wrapper around CLOCK_ADJTIME syscall.
cmd
c4u
ntpcheck
CLI to perform various NTP-related tasks
CLI to perform various NTP-related tasks
ntpcheck/checker
Package checker provides an easy way to talk to NTPD/Chronyd and get NTPCheckResult, which abstracts away Chrony/NTP control protocol implementation details and contains tons of information useful for NTP monitoring, like NTP server variables including offset, peers and their variables and statuses.
Package checker provides an easy way to talk to NTPD/Chronyd and get NTPCheckResult, which abstracts away Chrony/NTP control protocol implementation details and contains tons of information useful for NTP monitoring, like NTP server variables including offset, peers and their variables and statuses.
Package hostendian provides way to check the endianness of the machine this code is running on.
Package hostendian provides way to check the endianness of the machine this code is running on.
Package leaphash is a utility package for computing the hash value of the official leap-second.list document
Package leaphash is a utility package for computing the hash value of the official leap-second.list document
Package leapsectz is a utility package for obtaining leap second information from the system timezone database
Package leapsectz is a utility package for obtaining leap second information from the system timezone database
ntp
chrony
Package chrony implements Chrony (https://chrony.tuxfamily.org) network protocol v6 used for monitoring of the timeserver.
Package chrony implements Chrony (https://chrony.tuxfamily.org) network protocol v6 used for monitoring of the timeserver.
control
Package control implements NTP Control Protocol (RFC1305, Appendix B).
Package control implements NTP Control Protocol (RFC1305, Appendix B).
protocol
Package protocol implements ntp packet and basic functions to work with.
Package protocol implements ntp packet and basic functions to work with.
responder/announce
Package announce implements announcement of server IPs.
Package announce implements announcement of server IPs.
responder/checker
Package checker implements checking mechanism of server aliveness.
Package checker implements checking mechanism of server aliveness.
responder/server
Package server implements simple UDP server to work with NTP packets.
Package server implements simple UDP server to work with NTP packets.
responder/stats
Package stats implements statistics collection and reporting.
Package stats implements statistics collection and reporting.
shm
Package oscillatord implements monitoring protocol used by Orolia's oscillatord, daemon for disciplining an oscillator.
Package oscillatord implements monitoring protocol used by Orolia's oscillatord, daemon for disciplining an oscillator.
Package phc contains code to work with PTP Hardware Clock (PHC).
Package phc contains code to work with PTP Hardware Clock (PHC).
ptp
c4u
c4u/stats
Package stats implements statistics collection and reporting.
Package stats implements statistics collection and reporting.
protocol
Package protocol implements a subset of the PTPv2.1 protocol (IEEE 1588-2019).
Package protocol implements a subset of the PTPv2.1 protocol (IEEE 1588-2019).
ptp4u/server
Package server implements simple Unicast PTP UDP server.
Package server implements simple Unicast PTP UDP server.
ptp4u/stats
Package stats implements statistics collection and reporting.
Package stats implements statistics collection and reporting.
simpleclient
Package simpleclient provides very simplistic PTPv2 unicast client.
Package simpleclient provides very simplistic PTPv2 unicast client.
mac

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL