Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RequestBodyVar ¶
type RequestBodyVar struct{}
RequestBodyVar implements an HTTP handler that replaces {http.request.body.*} with the value of the given field from request body, if any.
func (RequestBodyVar) CaddyModule ¶
func (RequestBodyVar) CaddyModule() caddy.ModuleInfo
CaddyModule returns the Caddy module information.
func (RequestBodyVar) ServeHTTP ¶
func (m RequestBodyVar) ServeHTTP(w http.ResponseWriter, r *http.Request, next caddyhttp.Handler) error
ServeHTTP implements caddyhttp.MiddlewareHandler.
func (*RequestBodyVar) UnmarshalCaddyfile ¶
func (m *RequestBodyVar) UnmarshalCaddyfile(d *caddyfile.Dispenser) error
UnmarshalCaddyfile - this is a no-op
Click to show internal directories.
Click to hide internal directories.