command
Version:
v0.0.0-...-44a0656
Opens a new window with list of versions in this module.
Published: Dec 31, 2016
License: Apache-2.0
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Setup
Before you can run or deploy this sample, you will need to configure a Pub/Sub topic and subscription:
-
Enable the Cloud Pub/Sub API in the Google Developers Console.
-
Create a topic and subscription.
$ gcloud alpha pubsub topics create [your-topic-name]
$ gcloud alpha pubsub subscriptions create [your-subscription-name] \
--topic [your-topic-name] \
--push-endpoint \
https://[your-app-id].appspot.com/pubsub/push \
--ack-deadline 30
-
Update the environment variables in app.yaml
.
Documentation
¶
Sample pubsub demonstrates use of the cloud.google.com/go/pubsub package from App Engine flexible environment.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.