hello-world-container-image

command module
v0.0.0-...-a9464fe Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 22, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

README

Cloudflare Container Example

This repo contains a simple example application which can be run in Cloudflare's container runtime.

The example app serves a single HTML page with an incrementing visit counter and a toggleable health status. The health status can be modified by sending a POST request to /health with the status query parameter set to either healthy or unhealthy. The health status can be queried by sending a GET request to /health: if the application is healthy it will return an empty response with a 200 status code; otherwise, it will send an empty response with a 503 status code.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL