Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PanicRecovery ¶
PanicRecovery catches all `panic` calls in order to prevent HTTP server from going down and returns a standardised `500 Internal Server Error` response.
func Router ¶
func Router(h http.HandlerFunc, middleware ...rtr) http.HandlerFunc
Router allows router level middleware chaining. The first middleware in the chain runs last. Server level middleware always take precedence over router level middleware.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.