Documentation ¶
Index ¶
- func CleanupDatabase(w http.ResponseWriter, r *http.Request)
- func DownloadAndSaveKeys(w http.ResponseWriter, r *http.Request)
- func DownloadAndSaveYesterdaysKeys(w http.ResponseWriter, r *http.Request)
- func ImportKeysToKeyServer(ctx context.Context, m pubsub.Message) error
- func IssueTestingVerificationCode(w http.ResponseWriter, r *http.Request)
- func ToDiagnosisKey(symptomsSince time.Time, key *keyserverapi.ExposureKey, origin string, ...) *efgsapi.DiagnosisKey
- func UploadBatch(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CleanupDatabase ¶ added in v0.5.0
func CleanupDatabase(w http.ResponseWriter, r *http.Request)
CleanupDatabase Remove old (more than EFGS_EXPOSURE_KEYS_EXPIRATION days) keys from database.
func DownloadAndSaveKeys ¶ added in v0.5.0
func DownloadAndSaveKeys(w http.ResponseWriter, r *http.Request)
DownloadAndSaveKeys Downloads batch from EFGS.
func DownloadAndSaveYesterdaysKeys ¶ added in v0.5.0
func DownloadAndSaveYesterdaysKeys(w http.ResponseWriter, r *http.Request)
DownloadAndSaveYesterdaysKeys Downloads batch from whole yesterday from EFGS.
func ImportKeysToKeyServer ¶ added in v0.5.0
ImportKeysToKeyServer Imports keys to Key server
func IssueTestingVerificationCode ¶ added in v0.5.0
func IssueTestingVerificationCode(w http.ResponseWriter, r *http.Request)
IssueTestingVerificationCode Issues new VC for publishing keys.
func ToDiagnosisKey ¶ added in v0.5.0
func ToDiagnosisKey(symptomsSince time.Time, key *keyserverapi.ExposureKey, origin string, visitedCountries []string) *efgsapi.DiagnosisKey
ToDiagnosisKey Converts ExposureKey to DiagnosisKey
func UploadBatch ¶ added in v0.5.0
func UploadBatch(w http.ResponseWriter, r *http.Request)
UploadBatch Called in CRON. Gets keys from database and upload them to EFGS.
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.