responsecache

package module
v0.0.0-...-90516fd Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2026 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	Configuration string   `json:"configuration"`
	Scheme        string   `json:"scheme"`
	PathPrefixes  []string `json:"path_prefixes"`
	TTLSeconds    int      `json:"ttl_seconds"`
	// contains filtered or unexported fields
}

Handler is intentionally JSON-only; the typed Rust controller owns configuration.

func (*Handler) CaddyModule

func (*Handler) CaddyModule() caddy.ModuleInfo

func (*Handler) Cleanup

func (h *Handler) Cleanup() error

func (*Handler) Provision

func (h *Handler) Provision(_ caddy.Context) error

func (*Handler) ServeHTTP

func (h *Handler) ServeHTTP(w http.ResponseWriter, r *http.Request, next caddyhttp.Handler) error

Directories

Path Synopsis
Package upstreamobserver exposes handler-local upstream state on Caddy's private admin API.
Package upstreamobserver exposes handler-local upstream state on Caddy's private admin API.

Jump to

Keyboard shortcuts

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