Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RequestBody ¶
type RequestBody struct {
MaxSize int64 `json:"max_size,omitempty"`
}
RequestBody is a middleware for manipulating the request body.
func (RequestBody) CaddyModule ¶
func (RequestBody) CaddyModule() caddy.ModuleInfo
CaddyModule returns the Caddy module information.
func (RequestBody) ServeHTTP ¶
func (rb RequestBody) ServeHTTP(w http.ResponseWriter, r *http.Request, next caddyhttp.Handler) error
Click to show internal directories.
Click to hide internal directories.