Structs§
Enums§
Functions§
- clock_
offset_ nanos - Get system clock offset in nano seconds. local timestamp sub remote timestamp.
- duration_
to_ ntp_ timestamp - Convert time.Duration to ntp timestamp format
- ntp
- Retrieve four time from ntp server: t1, t2, t3 and t4.
- ntp_
timestamp_ to_ duration - Convert ntp timestamp to time.Duration
- unix_
timestamp - Retrieve current unix timestamp.