MCPcopy Create free account
hub / github.com/cloudflare/roughtime / ParseConfig

Function ParseConfig

client/client.go:190–223  ·  view source on GitHub ↗

ParseConfig loads parses a JSON-encoded Roughtime-server configuration, skipping those servers that the client doesn't support. It returns the sequenc of servers with valid configurations, as well as the number of configurations it skipped. If the server's address is a domain name, the client will

(jsonData []byte)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

LoadConfigFunction · 0.85

Calls 1

serverUDPAddrFunction · 0.85

Tested by

no test coverage detected