Instructor at Galvanize
Go since Sept 2015
http.Server.Close
http.Server.Shutdown
http.Pusher
err := srv.ListenAndServe() if err != http.ErrServerClosed { log.Fatal("listen: %s\n", err) }
Will close all listeners, stop accepting new connections and waits until all requests are finished.
Stops accepting new connections
Stops fulfilling new requests
Waits for in-flight requests to complete
https://github.com/facebookgo/httpdown
https://github.com/tylerb/graceful
https://http2.golang.org/gophertiles
https://github.com/madari/pusher.go
https://github.com/pusher/pusher-http-go
roberto.ortega@galvanize.com
github.com/berto
By Roberto Ortega