https://github.com/benjamin-maynard/hello-web-server-cloud-run
https://github.com/benjamin-maynard/hello-web-server-cloud-run
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/benjamin-maynard/hello-web-server-cloud-run
- Owner: benjamin-maynard
- Created: 2020-05-06T14:25:13.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-05-20T13:59:04.000Z (about 6 years ago)
- Last Synced: 2023-03-08T15:56:10.813Z (about 3 years ago)
- Language: Go
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# hello-web-server-cloud-run
hello-web-server-cloud-run is a sample application written in Golang designed to be used as an example for deploying to Cloud Run.
It uses the `http` package to start a web server on a port defined by the $PORT variable. It loads the `K_SERVICE` and `K_REVISION` environment variables and returns them in JSON format when a user browses to the Cloud Run Service URL.