Gin: Is it possible to stop a router from running?

Created on 25 May 2016  路  4Comments  路  Source: gin-gonic/gin

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

question

Most helpful comment

For future people that find this issue through google: go to https://github.com/gin-gonic/gin#graceful-restart-or-stop

All 4 comments

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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

kekemuyu picture kekemuyu  路  3Comments

boneq picture boneq  路  3Comments

CodingPapi picture CodingPapi  路  3Comments

lilee picture lilee  路  3Comments

oryband picture oryband  路  3Comments