Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var PanicOnInitError = true
PanicOnInitError (when true) causes Init() to panic if redirects.csv contains invalid data
Functions ¶
func DynamicRedirectHandler ¶ added in v1.33.0
DynamicRedirectHandler redirects requests to the provide 'to' base path whilst keeping all the other information of the request url
func RouteRedirectHandler ¶ added in v1.90.0
RouteRedirectHandler will redirect to the new path provided, this can allow for wildcard redirecting. It also preserves query strings.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.