After then nth time copying and tweaking boilerplate Go code to enable HTTP graceful shutdown, I decided to package it up in to a library which I've called rsvp (i. e, "please respond"). Basic usage is to call rsvp.

Source: [Hacker News](https://github.com/jbarham/rsvp)

Sponsored