Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RewriteHandler ¶
type RewriteHandler struct {
// contains filtered or unexported fields
}
func NewRewriteHandler ¶
func NewRewriteHandler(rules []string) *RewriteHandler
func (*RewriteHandler) ApplyRules ¶
func (h *RewriteHandler) ApplyRules(from string) (bool, string)
type RewriteOptions ¶
type RewriteOptions struct {
Rewrites []string `name:"rewrites" desc:"An ordered list of rewrite rules, eg. ':key::/new/:key/path'."`
}
Click to show internal directories.
Click to hide internal directories.