Documentation ¶
Overview ¶
Package helloworld provides a set of Cloud Functions samples.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HelloPubSub ¶
func HelloPubSub(ctx context.Context, m PubSubMessage) error
HelloPubSub consumes a Pub/Sub message.
Types ¶
type PubSubMessage ¶
type PubSubMessage struct {
Data []byte `json:"data"`
}
Click to show internal directories.
Click to hide internal directories.