mirror of https://github.com/gin-gonic/gin.git
commit
2afce84a7c
|
@ -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