basic

command
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 Imports: 1 Imported by: 0

Documentation

Overview

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.

It uses statute.Main, so the binary also accepts -validate, -export, -graph, and -lint.

Jump to

Keyboard shortcuts

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