Skip to content

facebook/time

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.