1
0
Fork 0

Add Recover tests

This commit is contained in:
Emile Vauge 2017-05-13 19:36:37 +02:00
parent 111251da05
commit 48a91d05b5
No known key found for this signature in database
GPG key ID: D808B4C167352E59
2 changed files with 47 additions and 1 deletions

View file

@ -1,9 +1,10 @@
package middlewares
import (
"net/http"
"github.com/codegangsta/negroni"
"github.com/containous/traefik/log"
"net/http"
)
// RecoverHandler recovers from a panic in http handlers