Hi! We have a weird use case where we need to stop an entire router from listening. I've looked through the source and only see code for running it. This isn't specific to go but I think this is what i'm talking about: http://www.hydrogen18.com/blog/stop-listening-http-server-go.html
tl;dr read documentation
What was your solution?
For future people that find this issue through google: go to https://github.com/gin-gonic/gin#graceful-restart-or-stop
upd https://github.com/gin-gonic/gin#graceful-shutdown-or-restart
Most helpful comment
For future people that find this issue through google: go to https://github.com/gin-gonic/gin#graceful-restart-or-stop