Documentation
¶
Overview ¶
router/router.go
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
New creates a chi.Router pre-wired with Waffle's standard middleware stack: - RequestID - RealIP - Recoverer (panic → 500) - Compression (if EnableCompression is true) - body size limit (MaxRequestBodyBytes) - metrics HTTP middleware - request logging - NotFound / MethodNotAllowed JSON handlers It does NOT mount health, version, pprof, etc.; those remain app-level decisions.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.