Documentation
¶
Overview ¶
Package bodylimit provides express middleware that rejects requests whose body exceeds a configured size, guarding handlers against oversized uploads.
Index ¶
Constants ¶
View Source
const DefaultMaxBytes int64 = 1 << 20 // 1 MiB
DefaultMaxBytes is the limit applied when New is called with no options.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.