Merge pull request #561 from appleboy/patch-1

Add manners package.
This commit is contained in:
Javier Provecho Fernandez 2016-03-14 12:49:18 +01:00
commit 2afce84a7c
1 changed files with 4 additions and 1 deletions

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.