Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Forwarded forwarded.Middleware Config httpservice.Config Headers misc.Headers Hosts service.Hosts ErrorPages ErrorPagesConfig }
type ErrorPagesConfig ¶
type ErrorPagesConfig struct { ErrorPage string StatusCodePages []*StatusCodePage IgnoredStatusCodes []int }
func (*ErrorPagesConfig) Middleware ¶
func (c *ErrorPagesConfig) Middleware() func(w http.ResponseWriter, r *http.Request, next http.HandlerFunc)
type StatusCodePage ¶
Click to show internal directories.
Click to hide internal directories.