MCPcopy Create free account

hub / github.com/cloudflare/roughtime / types & classes

Types & classes18 in github.com/cloudflare/roughtime

↓ 2 callersTypeAliasVersion
Version indicates the version of the Roughtime protocol in use.
protocol/version.go:20
↓ 1 callersTypeAliastagsSlice
tagsSlice is the type of an array of tags. It provides utility functions so that they can be sorted.
protocol/protocol.go:78
StructCertificate
protocol/protocol.go:648
StructChain
Chain represents a sequence of ordered Roughtime queries.
client/client.go:343
StructChain
Chain represents a history of Roughtime queries where each provably follows the previous one.
config/config.go:55
StructError
Error represents a protocol error.
protocol/error.go:31
TypeAliasErrorType
ErrorType is an error type.
protocol/error.go:20
StructLink
Link represents an entry in a Chain.
config/config.go:60
StructRequest
Request is a request sent by a client.
protocol/protocol.go:484
StructResult
Result stores the request and response of a Roughtime query to a server. It is either a server's time or an error.
client/client.go:251
StructRoughtime
Roughtime stores the result of a successful Roughtime query.
client/client.go:80
StructServer
Server represents a Roughtime server in a JSON configuration.
config/config.go:29
StructServerAddress
ServerAddress represents the address of a Roughtime server in a JSON configuration.
config/config.go:45
StructServersJSON
ServersJSON represents a JSON format for distributing information about Roughtime servers.
config/config.go:24
StructTestRand
TestRand implements io/Reader using a fixed sequence of bytes. It is intended to be used in place of crypto/Rand for tests that we want to be determin
protocol/internal/testing/testing.go:41
StructTestVector
TestVector encodes test vectors.
protocol/internal/testing/testing.go:18
StructclaimStep
The client would present a series of tuples of (server identity, nonce/blind, reply) as its claim of misbehaviour. The first element contains a nonce
protocol/protocol_test.go:339
Structtree
tree represents a Merkle tree of nonces. Each element of values is a layer in the tree, with the widest layer first.
protocol/protocol.go:376