debian-mirror-gitlab/workhorse-vendor/gocloud.dev/samples/appengine
2023-01-13 15:02:22 +05:30
..
.vscode New upstream version 15.6.4+ds1 2023-01-13 15:02:22 +05:30
.gcloudignore New upstream version 15.6.4+ds1 2023-01-13 15:02:22 +05:30
app.yaml New upstream version 15.6.4+ds1 2023-01-13 15:02:22 +05:30
helloworld.go New upstream version 15.6.4+ds1 2023-01-13 15:02:22 +05:30
README.md New upstream version 15.6.4+ds1 2023-01-13 15:02:22 +05:30

AppEngine Sample

This directory holds a simple "Hello world!" AppEngine app that uses server.Server.

Prerequisites

You will need to install the following software to run this sample:

Deploying

Run the following in this samples/appengine directory:

# Build the binary.
go build
# Deploy it to AppEngine.
gcloud app deploy
# Open a browser to the app.
gcloud app browse

Try browsing to the /healthz/readiness page that server.Server adds a handler for.