Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// The maximum bytes of memory to use when decoding form payloads.
// Any files larger than this limit will be written to disk temporarily
// while processing requests. Default: 2 MB
MemoryLimit int64 `json:"memory_limit,omitempty"`
}
Handler parses multipart/form data and converts it to JSON.
func (Handler) CaddyModule ¶
func (Handler) CaddyModule() caddy.ModuleInfo
CaddyModule returns the Caddy module information.
Click to show internal directories.
Click to hide internal directories.