Graceful shutdown example
TudorHulban opened this issue · comments
Hi,
Maybe a graceful shutdown example could be added.
Thank you
I saw #56.
Please consider Gin also exposes a graceful example in https://github.com/gin-gonic/examples/blob/master/graceful-shutdown/graceful-shutdown/server.go using "net/http".
Hi @TudorHulban,
In Atreugo, you could activate the graceful shutdown, activating it in the Config.
But maybe, it could be added it as an example.
Could you make a PR?? please