package
0.0.0-20180403234405-3be5551c975d
Repository: https://github.com/guregodevo/golang-samples.git
Documentation: pkg.go.dev

# README

Setup

Before you can run or deploy this sample, you will need to configure a Pub/Sub topic and subscription:

  1. Enable the Cloud Pub/Sub API in the Google Developers Console.

  2. 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
    
  3. Update the environment variables in app.yaml.