Versions in this module Expand all Collapse all v0 v0.30.0 Jun 16, 2026 Changes in this version + const DefaultMaxRequestBodySize + const MiddlewareType + func CreateMiddleware(config *types.MiddlewareConfig, runner types.MiddlewareRunner) error + func IsRequestTooLarge(err error) bool + func Middleware(maxBytes int64) func(http.Handler) http.Handler + type MiddlewareParams struct + MaxBytes int64