mirror of
https://github.com/tarampampam/error-pages.git
synced 2024-08-30 18:22:40 +00:00
308467006b
* Add CatchAll functionality * Added link to PR to changelog
18 lines
451 B
Go
18 lines
451 B
Go
package options
|
|
|
|
type ErrorPage struct {
|
|
Default struct {
|
|
PageCode string // default error page code
|
|
HTTPCode uint16 // default HTTP response code
|
|
}
|
|
L10n struct {
|
|
Disabled bool // disable error pages localization
|
|
}
|
|
Template struct {
|
|
Name string // template name
|
|
}
|
|
ShowDetails bool // show request details in response
|
|
ProxyHTTPHeaders []string // proxy HTTP request headers list
|
|
CatchAll bool // catch all pages
|
|
}
|