Recovery Middleware

CleverGo provides a built-in recovery middleware, what it does is that catch panic and returns the panic error to the upstream middleware.

app.Use(clevergo.Recovery())
comments powered by Disqus