firestore

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

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

Go to latest
Published: May 1, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var FirestoreFunc = functions.New().
	RunWith(functions.RuntimeOptions{

		Timeout: 70,

		Memory: "128MB",
	}).
	Region("europe-west2").
	Firestore().Document("test-collection/{docID}").
	OnWrite(func(ctx context.Context, event functions.FirestoreEvent) error {
		fmt.Println(event.Value.Fields)
		return nil
	})

FirestoreFunc is a firstore triggered function

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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