Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsInStatusCode ¶
Types ¶
type Try ¶
type Try struct {
Regex string `cfg:"regex"`
Replacement string `cfg:"replacement"`
// StatusCodes is a comma separated list of status codes to redirect
// 300-399, 401, 403, 404, 405, 408, 410, 500-505
StatusCodes string `cfg:"status_codes"`
}
func (*Try) Middleware ¶
func (m *Try) Middleware() (echo.MiddlewareFunc, error)
Click to show internal directories.
Click to hide internal directories.