Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Rewrite ¶
type Rewrite struct { Method string `json:"method,omitempty"` URI string `json:"uri,omitempty"` Rehandle bool `json:"rehandle,omitempty"` }
Rewrite is a middleware which can rewrite HTTP requests.
func (Rewrite) CaddyModule ¶
func (Rewrite) CaddyModule() caddy.ModuleInfo
CaddyModule returns the Caddy module information.
Click to show internal directories.
Click to hide internal directories.