Re: [go-nuts] How to broadcast a graceful server shutdown down the road?

2018-01-24 Thread Joris Berthelot
a graceful shutdown sign is intercepted by the server. Or maybe I'm wrong but in this case, I would love to see a working example. Thank you! On Wednesday, January 24, 2018 at 7:33:02 PM UTC+1, Justin Israel wrote: > > > > On Thu, Jan 25, 2018, 4:50 AM Joris Berthelot <jo...@berthelot

[go-nuts] How to broadcast a graceful server shutdown down the road?

2018-01-24 Thread Joris Berthelot
Hello everybody, First post in this group, I'm a bit new for the language (I've been more and less writing Go for a year now) and I have a question for you guys. I would like to know how to broadcast a HTTP server shutdown to any running goroutines launched by HTTP handlers. From what I