Versions in this module Expand all Collapse all v1 v1.0.0 Sep 29, 2024 Changes in this version + func LengthDescending(p1, p2 *httpserver.PathLimit) bool + func MaxBytesReader(w http.ResponseWriter, r io.ReadCloser, n int64) io.ReadCloser + func SortPathLimits(pathLimits []httpserver.PathLimit) + type Limit struct + BodyLimits []httpserver.PathLimit + Next httpserver.Handler + func (l Limit) ServeHTTP(w http.ResponseWriter, r *http.Request) (int, error)