Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cloudflare/roughtime
/ types & classes
Types & classes
18 in github.com/cloudflare/roughtime
⨍
Functions
80
◇
Types & classes
18
↓ 2 callers
TypeAlias
Version
Version indicates the version of the Roughtime protocol in use.
protocol/version.go:20
↓ 1 callers
TypeAlias
tagsSlice
tagsSlice is the type of an array of tags. It provides utility functions so that they can be sorted.
protocol/protocol.go:78
Struct
Certificate
protocol/protocol.go:648
Struct
Chain
Chain represents a sequence of ordered Roughtime queries.
client/client.go:343
Struct
Chain
Chain represents a history of Roughtime queries where each provably follows the previous one.
config/config.go:55
Struct
Error
Error represents a protocol error.
protocol/error.go:31
TypeAlias
ErrorType
ErrorType is an error type.
protocol/error.go:20
Struct
Link
Link represents an entry in a Chain.
config/config.go:60
Struct
Request
Request is a request sent by a client.
protocol/protocol.go:484
Struct
Result
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
Struct
Roughtime
Roughtime stores the result of a successful Roughtime query.
client/client.go:80
Struct
Server
Server represents a Roughtime server in a JSON configuration.
config/config.go:29
Struct
ServerAddress
ServerAddress represents the address of a Roughtime server in a JSON configuration.
config/config.go:45
Struct
ServersJSON
ServersJSON represents a JSON format for distributing information about Roughtime servers.
config/config.go:24
Struct
TestRand
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
Struct
TestVector
TestVector encodes test vectors.
protocol/internal/testing/testing.go:18
Struct
claimStep
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
Struct
tree
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