p

package
v0.0.0-...-3b29460 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package p contains a Cloud Function that processes Firebase Remote Config events.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HelloRemoteConfig

func HelloRemoteConfig(ctx context.Context, e RemoteConfigEvent) error

HelloRemoteConfig handles Firebase Remote Config events.

Types

type RemoteConfigEvent

type RemoteConfigEvent struct {
	UpdateOrigin string `json:"updateOrigin"`
	UpdateType   string `json:"updateType"`
	UpdateUser   struct {
		Email    string `json:"email"`
		ImageURL string `json:"imageUrl"`
		Name     string `json:"name"`
	} `json:"updateUser"`
	VersionNumber string `json:"versionNumber"`
}

A RemoteConfigEvent is an event triggered by Firebase Remote Config.

Jump to

Keyboard shortcuts

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