Go Interrupt: Easily Handle Signals with Contextsgithub.com/Noah-Huppert 1 pointwhois6 years ago1 commentSaveHideCopy link On HNComments−whoisOP6yI made this to handle graceful shutdown of a net/http.Server and other similar components.I found myself implementing the same pattern over and over again, hope people can benefit from this simple small library.
Comments
I made this to handle graceful shutdown of a net/http.Server and other similar components.
I found myself implementing the same pattern over and over again, hope people can benefit from this simple small library.