Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
README.md
drain.go

README.md

HTTP Graceful Shutdown

This is an example web server that shuts down gracefully. Upon receiving the SIGINT signal it stops accepting connections, and waits until all outstanding connections are complete before ending.

See https://blog.tylerchr.com/go-18-changes.

You can’t perform that action at this time.