This commit is contained in:
Mark McGranaghan 2012-09-19 17:50:59 -07:00
parent 476a3bc84c
commit 34311141aa

View File

@ -76,6 +76,10 @@ func main() {
} }
} }
// == todo
// clean up logging
// consider refactoring
// == running // == running
// $ cd src // $ cd src
// $ go build xx-http-server-graceful-shutdown.go // $ go build xx-http-server-graceful-shutdown.go
@ -84,3 +88,6 @@ func main() {
// $ curl -i http://127.0.0.1:5000/ // $ curl -i http://127.0.0.1:5000/
// //
// ^C // ^C
// == credits
// http://blog.nella.org/?p=879