Versions in this module Expand all Collapse all v0 v0.1.0 Aug 23, 2026 Changes in this version + func AcceptsGzip(header string) bool + func CORS(origins []string, next http.Handler) http.Handler + func CORSWithPreflight(origins []string, allowMethods string, next http.Handler) http.Handler + func Gzip(next http.Handler) http.Handler + func Healthz(w http.ResponseWriter, _ *http.Request) + func ListenAndServe(ctx context.Context, h http.Handler, o ServeOptions) error + func OriginAllowed(origins []string, origin string) bool + func Preflight(origins []string, allowMethods string) http.HandlerFunc + type ServeOptions struct + Addr string + Log *slog.Logger + LogAttrs []any + RequestTimeout time.Duration