Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrorPages ¶
type ErrorPages struct {
// contains filtered or unexported fields
}
ErrorPages stores the custom error pages and is called by the servers to output meaningful pages for HTTP error codes
func (*ErrorPages) Compile ¶
func (e *ErrorPages) Compile()
Compile loads the error pages the certificates and keys from the directories.
This method makes use of the rescheduler instead of just ignoring multiple calls.
func (*ErrorPages) ServeError ¶
func (e *ErrorPages) ServeError(rw http.ResponseWriter, code int)
ServeError writes the error page for the given code to the response writer
Click to show internal directories.
Click to hide internal directories.