Add manners package.
This commit is contained in:
parent
31e4401f01
commit
38b77a71d9
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user