Documentation ¶
Overview ¶
Package recoverer provides a middleware that recovers from panics, logs the panic (and a backtrace), and returns a Custom status if possible.(based on go-chi/chi)
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Handler ¶
func Handler(w http.ResponseWriter, r *http.Request, _ any)
Handler is a function that handles a panic.
Types ¶
Click to show internal directories.
Click to hide internal directories.