Gracefully shuts down the server without interrupting any active connections.
Check out the latest version of Graceful Shutdown and enter it
$ git clone https://github.com/air-examples/graceful-shutdown.git
$ cd graceful-shutdown
and run it
$ go run main.go
then visit http://localhost:8080
.
If you want to discuss Graceful Shutdown, or ask questions about it, simply post questions or ideas here.
If you want to help build Graceful Shutdown, simply follow this to send pull requests here.
This project is licensed under the MIT License.
License can be found here.