Skip to content

go-http-utils/recover

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

recover

Build Status Coverage Status

HTTP panic recovery middleware for Go.

Installation

go get -u github.com/go-http-utils/recover

Documentation

API documentation can be found here: https://godoc.org/github.com/go-http-utils/recover

Usage

import (
  "github.com/go-http-utils/recover"
)
mux := http.NewServeMux()

// ...

http.ListenAndServe(":8080", recover.Handler(mux, recover.DefaultRecoverHandler))

Releases

No releases published

Packages

No packages published