MCPcopy
hub / github.com/labstack/echo / BodyLimitConfig

Struct BodyLimitConfig

middleware/body_limit.go:15–21  ·  view source on GitHub ↗

BodyLimitConfig defines the config for BodyLimitWithConfig middleware.

Source from the content-addressed store, hash-verified

13
14// BodyLimitConfig defines the config for BodyLimitWithConfig middleware.
15type BodyLimitConfig struct {
16 // Skipper defines a function to skip middleware.
17 Skipper Skipper
18
19 // LimitBytes is maximum allowed size in bytes for a request body
20 LimitBytes int64
21}
22
23type limitedReader struct {
24 BodyLimitConfig

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected