functions

package module
v0.5.12 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 7, 2021 License: MIT Imports: 12 Imported by: 0

README

erouska 2.0 - backend


tests Codeac

Deployment

PROJECT_ID=<YOUR_GCP_PROJECT> ./scripts/deploy

Environment variables

# for ci/testing set FIREBASE_URL to "NOOP"
export FIREBASE_URL=NOOP

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ChangePushToken

func ChangePushToken(w http.ResponseWriter, r *http.Request)

ChangePushToken ChangePushToken handler.

func DownloadAndCountVaccinations added in v0.5.11

func DownloadAndCountVaccinations(w http.ResponseWriter, r *http.Request)

DownloadAndCountVaccinations handler.

func DownloadCovidDataTotal

func DownloadCovidDataTotal(w http.ResponseWriter, r *http.Request)

DownloadCovidDataTotal handler.

func DownloadMetrics added in v0.3.2

func DownloadMetrics(w http.ResponseWriter, r *http.Request)

DownloadMetrics handler.

func EfgsDownloadKeys added in v0.5.0

func EfgsDownloadKeys(w http.ResponseWriter, r *http.Request)

EfgsDownloadKeys downloads EFGS keys - most recent batch

func EfgsDownloadYesterdaysKeys added in v0.5.0

func EfgsDownloadYesterdaysKeys(w http.ResponseWriter, r *http.Request)

EfgsDownloadYesterdaysKeys downloads EFGS keys batch from whole yesterday

func EfgsDownloadYesterdaysKeysPostponed added in v0.5.8

func EfgsDownloadYesterdaysKeysPostponed(ctx context.Context, m pubsub.Message) error

EfgsDownloadYesterdaysKeysPostponed Continues in downloading yesterdays key

func EfgsImportKeys added in v0.5.0

func EfgsImportKeys(ctx context.Context, m pubsub.Message) error

EfgsImportKeys Imports given keys

func EfgsIssueTestingVerificationCode added in v0.5.0

func EfgsIssueTestingVerificationCode(w http.ResponseWriter, r *http.Request)

EfgsIssueTestingVerificationCode handler.

func EfgsRemoveOldKeys added in v0.5.0

func EfgsRemoveOldKeys(w http.ResponseWriter, r *http.Request)

EfgsRemoveOldKeys handler.

func EfgsUploadKeys added in v0.5.0

func EfgsUploadKeys(w http.ResponseWriter, r *http.Request)

EfgsUploadKeys handler.

func GetCovidData

func GetCovidData(w http.ResponseWriter, r *http.Request)

GetCovidData handler.

func IsEhridActive

func IsEhridActive(w http.ResponseWriter, r *http.Request)

IsEhridActive IsEhridActive handler.

func PrepareNewMetricsVersion added in v0.3.2

func PrepareNewMetricsVersion(w http.ResponseWriter, r *http.Request)

PrepareNewMetricsVersion handler.

func PublishKeys added in v0.3.1

func PublishKeys(w http.ResponseWriter, r *http.Request)

PublishKeys handler.

func RegisterEhrid

func RegisterEhrid(w http.ResponseWriter, r *http.Request)

RegisterEhrid Registration handler.

func RegisterEhridAfterMath added in v0.3.2

func RegisterEhridAfterMath(ctx context.Context, m pubsub.Message) error

RegisterEhridAfterMath handler.

func RegisterNotification

func RegisterNotification(w http.ResponseWriter, r *http.Request)

RegisterNotification RegisterNotification handler.

func RegisterNotificationAfterMath

func RegisterNotificationAfterMath(ctx context.Context, m pubsub.Message) error

RegisterNotificationAfterMath RegisterNotificationAfterMath handler.

func SendWakeUpSignal added in v0.5.0

func SendWakeUpSignal(w http.ResponseWriter, r *http.Request)

SendWakeUpSignal handler

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL