This repository has been archived by the owner on Aug 12, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use Server.Shutdown method to avoid overhead
The HTTP Server has support for graceful shutdown in Go 1.8 https://beta.golang.org/doc/go1.8#http_shutdown go-gracedown is now just a wrapper of the net/http package to maintain interface compatibility.
- Loading branch information
1 parent
93c2880
commit 4578868
Showing
5 changed files
with
386 additions
and
276 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,4 +4,5 @@ go: | |
- "1.4" | ||
- "1.5" | ||
- "1.6" | ||
- "1.7" | ||
- tip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.