Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct { BackendName string FallbackURL string // Deprecated // contains filtered or unexported fields }
Handler is a middleware that provides the custom error pages
func NewHandler ¶
NewHandler initializes the utils.ErrorHandler for the custom error pages
func (*Handler) ServeHTTP ¶
func (h *Handler) ServeHTTP(w http.ResponseWriter, req *http.Request, next http.HandlerFunc)
Click to show internal directories.
Click to hide internal directories.