MCPcopy Create free account

hub / github.com/CovidShield/server / functions

Functions319 in github.com/CovidShield/server

MethodString
()
pkg/proto/covidshield/proto.pb.go:222
MethodString
()
pkg/proto/covidshield/proto.pb.go:282
MethodString
()
pkg/proto/covidshield/proto.pb.go:377
MethodString
()
pkg/proto/covidshield/proto.pb.go:447
MethodString
()
pkg/proto/covidshield/proto.pb.go:498
MethodString
()
pkg/proto/covidshield/proto.pb.go:567
MethodString
()
pkg/proto/covidshield/proto.pb.go:669
MethodString
()
pkg/proto/covidshield/proto.pb.go:743
MethodString
()
pkg/proto/covidshield/proto.pb.go:812
MethodString
()
pkg/proto/covidshield/proto.pb.go:867
MethodTomb
()
pkg/expiration/worker.go:69
MethodType
()
pkg/proto/covidshield/proto.pb.go:76
MethodType
()
pkg/proto/covidshield/proto.pb.go:170
MethodUnmarshalJSON
Deprecated: Do not use.
pkg/proto/covidshield/proto.pb.go:85
MethodUnmarshalJSON
Deprecated: Do not use.
pkg/proto/covidshield/proto.pb.go:179
Methodadd_key
(data: '1' * 16, active_at:, submitted_at:, transmission_risk_level: 8, region: '302')
test/retrieve_test.rb:219
Methodadd_key_explicit
(data: '1' * 16, rsin:, transmission_risk_level: 8, hour:, region: '302', rolling_period: TEK_ROLLING_PERIOD)
test/retrieve_test.rb:237
Methodassert_fields
(resp, fields)
test/claim_key_test.rb:129
Methodassert_happy_zip_response
(resp)
test/retrieve_test.rb:15
Methodassert_keys
(export, keys, region:, date_number:)
test/retrieve_test.rb:261
Methodassert_response
(resp, status, content_type, body: nil)
test/lib/helper.rb:141
Methodassert_result
(resp, code, error)
test/upload_test.rb:279
Methodassert_result
(resp, code, error, keys)
test/roundtrip_test.rb:141
Methodassert_result
(resp, code, error)
test/expiration_worker_test.rb:109
Methodassert_tek_fails
(code, **kwargs)
test/upload_test.rb:231
Methodassert_valid_signature
(signature, data)
test/retrieve_test.rb:252
Methodassert_valid_signature_list
(siglist_proto, export_proto)
test/retrieve_test.rb:284
Methodcheck_for_exposure
examples/retrieval/app.rb:74
MethodclaimKeyWrapper
(w http.ResponseWriter, r *http.Request)
pkg/server/keyclaim.go:91
Methodcount_diagnosis_keys
test/roundtrip_test.rb:112
Methodcount_diagnosis_keys
test/expiration_worker_test.rb:80
Methodcount_encryption_keys
test/expiration_worker_test.rb:84
Methodcurrent_date_number
test/lib/helper.rb:46
Methodcurrent_date_number
examples/retrieval/app.rb:112
Methodcurrent_rsin
(ts: Time.now)
test/roundtrip_test.rb:116
Methoddate_number_url
(date_number)
examples/retrieval/app.rb:129
Methoddays_ago
(n)
test/roundtrip_test.rb:10
Methoddb_transaction
examples/retrieval/app.rb:121
Methoddiagnosis_originators
test/lib/helper.rb:83
Methoddummy_payload
(nkeys=1, make_half_day=false, timestamp: Time.now)
test/upload_test.rb:242
Methoddummy_payload
(nkeys=1)
test/roundtrip_test.rb:120
Methoddummy_payload
(nkeys=1)
test/expiration_worker_test.rb:88
Methodencrypted_request
( payload, keyset, server_public: keyset[:server_public], app_private: keyset[:app_private], app_publi
test/upload_test.rb:253
Methodencrypted_request
( payload, keyset, server_public: keyset[:server_public], app_private: keyset[:app_private], app_publi
test/roundtrip_test.rb:124
Methodencrypted_request
( payload, keyset, server_public: keyset[:server_public], app_private: keyset[:app_private], app_publi
test/expiration_worker_test.rb:92
Methodencryption_originators
test/lib/helper.rb:79
Methodexpect
(*data)
test/lib/helper.rb:164
Methodexpect_keys
(want_keys)
test/roundtrip_test.rb:90
Methodexpect_no_keys
(resp)
test/retrieve_test.rb:213
Methodexpect_one_key
(resp, rsin, risk, data, start_time, end_time)
test/retrieve_test.rb:189
Methodexpire
test/expiration_worker_test.rb:68
Methodexpire_and_assert
(encryption: nil, diagnosis: nil)
test/expiration_worker_test.rb:74
MethodexposureConfig
TODO: serve this from somewhere else
pkg/server/config.go:26
Methodexposure_configuration_url
(region)
examples/retrieval/app.rb:125
Methodextract_zip
(data)
test/lib/helper.rb:169
Methodfetch_date_number
(date_number)
examples/retrieval/app.rb:99
Methodfetch_exposure_config
(region)
examples/retrieval/app.rb:92
Methodfetch_new_keys
examples/retrieval/app.rb:80
Methodget_date
(date_number, method: :get)
test/lib/helper.rb:61
Methodget_exposure_config
(region, method: :get)
test/lib/helper.rb:57
Methodhour_number
(timestamp)
test/retrieve_test.rb:241
Methodhour_number
(at = Time.now)
examples/retrieval/app.rb:136
Functioninit
()
pkg/proto/covidshield/proto.pb.go:1115
Methodinitialize
examples/retrieval/app.rb:11
Methodinitialize
examples/retrieval/app.rb:40
Methodinsert_key
test/retrieve_test.rb:229
Methodkey_n
(n)
test/upload_test.rb:227
Functionmain
()
cmd/key-submission/main.go:13
Functionmain
()
cmd/monolith/main.go:13
Functionmain
()
cmd/key-retrieval/main.go:13
Functionmain
()
cmd/generate-ecdsa-private-key/main.go:12
Methodmaybe_fetch_new_keys
examples/retrieval/app.rb:60
Functionmin
(a, b int)
pkg/retrieval/retrieval.go:29
Methodmove_forward_days
(days)
test/lib/helper.rb:118
Methodmove_forward_hours
(hours)
test/lib/helper.rb:130
Methodmove_forward_seconds
(seconds)
test/lib/helper.rb:122
MethodnewKeyClaim
(w http.ResponseWriter, r *http.Request)
pkg/server/keyclaim.go:35
Methodnew_valid_keyset
test/lib/helper.rb:95
Methodnew_valid_one_time_code
test/lib/helper.rb:86
Methodnext_rsin
test/lib/helper.rb:50
Methodparse_keys
(resp)
test/roundtrip_test.rb:106
Methodping
(w http.ResponseWriter, r *http.Request)
pkg/server/services.go:30
Methodpost_invalid_otc!
test/claim_key_test.rb:124
Methodpost_teks
(teks)
test/upload_test.rb:163
Methodpost_timestamp
(ts)
test/upload_test.rb:157
Methodpurge_db
test/lib/helper.rb:237
MethodretrieveWrapper
(w http.ResponseWriter, r *http.Request)
pkg/server/retrieve.go:53
Methodrun
test/lib/helper.rb:35
Methodsend_to_framework
(resp)
examples/retrieval/app.rb:116
Methodtek
(key_data: '1' * 16, transmission_risk_level: 3, rolling_period: 144, rolling_start_interval_number: next_rsin
test/upload_test.rb:270
Methodtek
(data: '1' * 16, transmission_risk_level: 3, rolling_period: 144, rolling_start_interval_number: next_rsin)
test/lib/helper.rb:70
Methodtek_payload
(tek)
test/upload_test.rb:238
Methodtest_claim_key
test/claim_key_test.rb:8
Methodtest_claimed_encryption_key_expiration
test/expiration_worker_test.rb:50
Methodtest_diagnosis_key_expiration
test/expiration_worker_test.rb:27
Methodtest_disallowed_methods
test/retrieve_test.rb:58
Methodtest_get_exposure_for_region
test/config_test.rb:9
Methodtest_invalid_auth
test/retrieve_test.rb:109
Methodtest_invalid_sequencing
test/upload_test.rb:121
Methodtest_invalid_timestamp
test/upload_test.rb:140
← previousnext →201–300 of 319, ranked by callers