# Documentation

- [Configuration](/docs/configuration) — RedirectTrailingSlash, RedirectFixedPath, HandleMethodNotAllowed, CaseInsensitive, NotFound, MethodNotAllowed, and the security-relevant defaults.
- [Cookbook](/docs/cookbook) — Recipes for the patterns that come up most often: graceful shutdown, file uploads, server-sent events, static files, and more.
- [Error handling](/docs/error-handling) — HandlerFuncE, HTTPError, and the typed error pipeline. How errors are surfaced, logged, rendered, and turned into HTTP responses.
- [Getting started](/docs/getting-started) — Install MuxMaster, register a route, run the server, and verify the response. The shortest path to a running router.
- [Groups](/docs/groups) — Compose route prefixes, scoped middleware, and nested groups with mux.Group. Includes the With, Route, and Mount idioms with worked examples.
- [Maximum performance](/docs/max-performance) — Zero-allocation hot path with PoolRequestBundle and PoolFastParams: the lifetime contract, the failure modes, and four recipes. 45 ns / 0 B / 0 allocs on a 1-param route.
- [Middleware](/docs/middleware) — The 17 bundled middleware constructors covering request lifecycle (RequestID, Recoverer, Logger), transport (Compress, RealIP, CleanPath, StripSlashes, NoCache, SetHeader), throughput (Timeout, Throttle), and authentication (BasicAuth, APIKey, JWTAuth, OAuth2Introspect, CORS).
- [Migration](/docs/migration) — Mapping idioms from net/http, gorilla/mux, chi, gin, and httprouter onto MuxMaster. Side-by-side examples for the most common migration paths.
- [Observability](/docs/observability) — Structured logging with slog, RequestID correlation, custom Prometheus metrics middleware, OpenTelemetry tracing, health checks, and pprof.
- [Performance](/docs/performance) — Allocation profile, FastHandler, the radix-tree lookup cost model, and the benchmarks that back the documented latency and throughput numbers.
- [Response helpers](/docs/response-helpers) — JSON, XML, Text, Redirect, NoContent, and the typed Params accessors that read URL parameters without reflection or per-request allocation.
- [Routing](/docs/routing) — Define static, parametric, and catch-all routes; pattern syntax; match precedence; and the trade-offs the MuxMaster radix tree makes.

