Documentation ¶
Overview ¶
Package functions contains utilities and helpers for apps running in Google Cloud Functions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Document ¶
Document wraps the native Firestore document to help with the JSON unmarshal in Cloud Functions.
func (*Document) UnmarshalJSON ¶
UnmarshalJSON implements the custom unmarshal from JSON of the document using jsonpb instead of the normal JSON procedures.
type FirestoreEvent ¶
type FirestoreEvent struct { OldValue *Document Value *Document UpdateMask *pb.DocumentMask }
FirestoreEvent is received as an argument in functions invoked by Firestore events.
Click to show internal directories.
Click to hide internal directories.