Registry / networking / beevik-ntp

beevik-ntp

JSON →
library1.4.3gogounverified

Provides an implementation of a Simple NTP (SNTP) client capable of querying the current time from a remote NTP server.

go get github.com/beevik/ntp
INSTALL
IMPORT
SIG · BEEVIK-NTP
B
beevik-ntp
networkinggov1.4.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ntp
github.com/beevik/ntp

Query the current time from an NTP server

import "github.com/beevik/ntp" func main() { time, err := ntp.Time("0.beevik-ntp.pool.ntp.org") if err != nil { panic(err) } fmt.Println(time) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.4.3latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
44 hits · last 30 days
node
38
Meta
1
Amazon
1
OpenAI (training)
1
Resources
beevik-ntp — go get beevik-ntp · libregistry