Add manners package.

This commit is contained in:
Bo-Yi Wu 2016-03-14 09:11:59 +08:00
parent 31e4401f01
commit 38b77a71d9
1 changed files with 4 additions and 1 deletions

View File

@ -680,5 +680,8 @@ router := gin.Default()
router.GET("/", handler)
// [...]
endless.ListenAndServe(":4242", router)
```
An alternative to endless:
* [manners](https://github.com/braintree/manners): A polite Go HTTP server that shuts down gracefully.