grpc-go has a
ServeHTTP() method which allows the grpc server to be a handler for a net/http server. In go 1.8, the net/http server will have a
Shutdown() method to gracefully shutdown. If I use the ServeHTTP() method as a handler, does calling net/http server's Shutdown() method cleanly shuts down everything and replicate grpc-go server's GracefulShutdown() method?
If not, how do I achieve graceful shutdown correctly when using the ServeHTTP() method?