package
0.0.0-20241210180848-8b34bf166fa6
Repository: https://github.com/cloudflare/roughtime.git
Documentation: pkg.go.dev
# Functions
Do requests Roughtime from a sequence of servers in order.
DoFromFile loads a sequence of server configurations from configFile and requests Roughtime from them in order.
Get sends a request to a server and verifies the response.
LoadConfig reads and parses a JSON-encoded string from configFile.
MedianDeltaWithRadiusThresh computes the median difference between t0 and the time reported by each server, rejecting responses whose uncertainty radii aren't within the accepted limit.
NewChain returns a Roughtime chain comprised of the successful queries in a sequence of results.
ParseConfig loads parses a JSON-encoded Roughtime-server configuration, skipping those servers that the client doesn't support.
SetLogger sets the logger used to log the output of Do and DoFromFile.
# Constants
No description provided by the author
No description provided by the author