examples/

directory
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: May 17, 2026 License: MIT

Directories

Path Synopsis
Example: the canonical statute deployment — an HTTP listener that redirects to HTTPS, an HTTPS listener with AutoTLS, HTTP/2 and HTTP/3, a weighted upstream pool with a backup backend and active health checks, host-scoped proxy and static routes with per-route middleware, and the production baseline of timeouts, JSON access logging, Prometheus metrics, and graceful shutdown.
Example: the canonical statute deployment — an HTTP listener that redirects to HTTPS, an HTTPS listener with AutoTLS, HTTP/2 and HTTP/3, a weighted upstream pool with a backup backend and active health checks, host-scoped proxy and static routes with per-route middleware, and the production baseline of timeouts, JSON access logging, Prometheus metrics, and graceful shutdown.
Example: a statute deployment fronted by Cloudflare with origin AutoTLS.
Example: a statute deployment fronted by Cloudflare with origin AutoTLS.
Example: wildcard certificate via Cloudflare DNS-01.
Example: wildcard certificate via Cloudflare DNS-01.
dev is a runnable example demonstrating round-robin load balancing across three echo backends with active health checks.
dev is a runnable example demonstrating round-robin load balancing across three echo backends with active health checks.
Example: a minimal plain-HTTP reverse proxy with no TLS — a single :8080 listener round-robining across two echo backends, with per-route rate limiting and timeouts, JSON access logging, Prometheus metrics, and graceful shutdown.
Example: a minimal plain-HTTP reverse proxy with no TLS — a single :8080 listener round-robining across two echo backends, with per-route rate limiting and timeouts, JSON access logging, Prometheus metrics, and graceful shutdown.

Jump to

Keyboard shortcuts

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