The release notes mention the graceful shutdown of a http.Server:
"The net/http package now provides an optional Server.ConnState callback to hook various phases of a server connection's lifecycle (see ConnState). This can be used to implement rate limiting or graceful shutdown."
Knows anyone here a code example for this?