Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CovidShield/server
/ types & classes
Types & classes
50 in github.com/CovidShield/server
⨍
Functions
319
◇
Types & classes
50
↓ 2 callers
Struct
result
returning this from s.fail and the s.retrieve makes it harder to call s.fail but forget to return.
pkg/server/server.go:66
↓ 1 callers
TypeAlias
EncryptedUploadResponse_ErrorCode
pkg/proto/covidshield/proto.pb.go:99
↓ 1 callers
TypeAlias
KeyClaimResponse_ErrorCode
pkg/proto/covidshield/proto.pb.go:30
Class
App
examples/retrieval/app.rb:36
Struct
App
pkg/app/app.go:28
Struct
AppBuilder
pkg/app/app.go:32
Interface
Authenticator
pkg/keyclaim/authenticator.go:8
Interface
Authenticator
pkg/retrieval/authenticator.go:14
Class
ClaimKeyTest
test/claim_key_test.rb:5
Interface
Cleanuper
pkg/telemetry/telemetry.go:28
Interface
Conn
Conn mediates all access to a MySQL/CloudSQL connection. It exposes a method for each query we support. The one exception is database creation/migrati
pkg/persistence/db.go:27
Class
Covidshield
test/lib/protocol/covidshield_pb.rb:89
Class
Database
examples/retrieval/app.rb:8
Struct
EncryptedUploadRequest
We are using a NaCl Box (Curve25519+XSalsa20+Poly1305) to encrypt and authorize messages. Note that we are not *explicitly* signing the payload: NaCl
pkg/proto/covidshield/proto.pb.go:343
Struct
EncryptedUploadResponse
EncryptedUploadResponse is received from the server in response to a EncryptedUploadRequest. If the request was successful, error will be NONE.
pkg/proto/covidshield/proto.pb.go:430
Class
ExpirationWorkerTest
test/expiration_worker_test.rb:7
Class
Helper
test/lib/helper.rb:33
Class
Include
test/lib/helper.rb:34
Struct
KeyClaimRequest
Clients will receive a One Time Code via some external channel (i.e. SMS or verbal). Then, upon issuing THIS request, they will generate a new keypair
pkg/proto/covidshield/proto.pb.go:201
Struct
KeyClaimResponse
KeyClaimResponse is received from the server in response to a KeyClaimRequest. If the request was successful, error will be NONE and server_public_key
pkg/proto/covidshield/proto.pb.go:262
Class
NewKeyClaimTest
test/new_key_claim_test.rb:5
Class
OneTimeCode
examples/new-key-claim/ruby.rb:4
Class
RetrieveTest
test/config_test.rb:6
Class
RetrieveTest
test/retrieve_test.rb:12
Class
RoundtripTest
test/roundtrip_test.rb:7
Interface
Server
pkg/server/server.go:21
Struct
SignatureInfo
pkg/proto/covidshield/proto.pb.go:639
Interface
Signer
pkg/retrieval/signer.go:13
Struct
TEKSignature
pkg/proto/covidshield/proto.pb.go:842
Struct
TEKSignatureList
pkg/proto/covidshield/proto.pb.go:794
Struct
TemporaryExposureKey
pkg/proto/covidshield/proto.pb.go:713
Struct
TemporaryExposureKeyExport
pkg/proto/covidshield/proto.pb.go:535
Struct
Upload
Upload is the decrypted type of the `payload` field in EncryptedUploadRequest.
pkg/proto/covidshield/proto.pb.go:478
Class
UploadTest
test/upload_test.rb:6
Interface
Worker
pkg/expiration/worker.go:16
Struct
authenticator
pkg/keyclaim/authenticator.go:12
Struct
authenticator
pkg/retrieval/authenticator.go:18
Struct
configServlet
pkg/server/config.go:19
Struct
conn
pkg/persistence/db.go:50
Struct
keyClaimServlet
pkg/server/keyclaim.go:23
Struct
migration
pkg/persistence/migrator.go:18
Interface
queryRower
pkg/persistence/queries.go:299
Struct
retrieveServlet
pkg/server/retrieve.go:28
Struct
servicesServlet
pkg/server/services.go:19
Struct
signer
pkg/retrieval/signer.go:17
Struct
traceMetricCleaner
traceMetricCleaner implements Cleanuper.
pkg/telemetry/telemetry.go:33
Struct
uploadServlet
pkg/server/upload.go:24
Struct
version
pkg/server/services.go:20
Struct
worker
pkg/expiration/worker.go:20
Struct
x
pkg/proto/covidshield/proto.pb.go:1242