Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
func (*Logger) ServeHTTP ¶
func (l *Logger) ServeHTTP(rw http.ResponseWriter, r *http.Request, next http.HandlerFunc)
type Recovery ¶
type Recovery struct { Logger *logrus.Logger Raven *raven.Client PrintStack bool StackAll bool StackSize int }
Recovery is a Negroni middleware that recovers from any panics and writes a 500 if there was one.
func (*Recovery) ServeHTTP ¶
func (rec *Recovery) ServeHTTP(rw http.ResponseWriter, r *http.Request, next http.HandlerFunc)
Click to show internal directories.
Click to hide internal directories.