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

Function ResponseVersionFromSupported

protocol/version.go:101–110  ·  view source on GitHub ↗

ResponseVersionFromSupported selects a version to use from the list of versions supported by the clients. Returns an error if the input slice is zero-length.

(supportedVersions []Version)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

handleRequestFunction · 0.92
TestRunTestVectorsFunction · 0.85
TestRoundtripFunction · 0.85

Calls 1

errUnsupportedVersionFunction · 0.85

Tested by 2

TestRunTestVectorsFunction · 0.68
TestRoundtripFunction · 0.68