Documentation
¶
Overview ¶
Package redirect provides compiling and matching redirect and rewrite rules.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Matcher ¶
type Matcher struct {
// contains filtered or unexported fields
}
Matcher for header lookup.
type Rule ¶
type Rule struct {
Path string `json:"path"`
Location string `json:"location"`
Status int `json:"status"`
Force bool `json:"force"`
// contains filtered or unexported fields
}
Rule is a single redirect rule.
Click to show internal directories.
Click to hide internal directories.