p

package module
v0.0.0-...-f3ac78e Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package p contains a Cloud Function triggered by a Firebase Realtime Database event.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HelloRTDB

func HelloRTDB(ctx context.Context, e RTDBEvent) error

HelloRTDB handles changes to a Firebase RTDB.

Types

type RTDBEvent

type RTDBEvent struct {
	Data  interface{} `json:"data"`
	Delta interface{} `json:"delta"`
}

RTDBEvent is the payload of a RTDB event.

Jump to

Keyboard shortcuts

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