Add manners package.

This commit is contained in:
Bo-Yi Wu 2016-03-14 09:11:59 +08:00
parent 31e4401f01
commit 38b77a71d9

View File

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