functions

package module
v0.4.5 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2020 License: MIT Imports: 10 Imported by: 0

README

erouska 2.0 - backend


tests

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 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 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.

Types

This section is empty.

Jump to

Keyboard shortcuts

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