docs & readme

This commit is contained in:
Naitik Shah 2013-03-25 13:53:07 -07:00
parent 991a4f1f05
commit ff78530d8b
2 changed files with 5 additions and 2 deletions

View File

@ -42,6 +42,9 @@ type Listener interface {
// Will indicate that a Close is requested preventing further Accept. It will
// also wait for the active connections to be terminated before returning.
// Note, this won't actually do the close, and is provided as part of the
// public API for cases where the socket must not be closed (such as systemd
// activation).
CloseRequest()
// Will return the underlying file representing this Listener.

View File

@ -9,7 +9,7 @@ Demo HTTP Server with graceful termination and restart:
https://github.com/daaku/go.grace/blob/master/gracedemo/demo.go
http level graceful termination and restart:
http://go.pkgdoc.org/github.com/daaku/go.grace/gracehttp
http://godoc.org/github.com/daaku/go.grace/gracehttp
net.Listener level graceful termination and restart:
http://go.pkgdoc.org/github.com/daaku/go.grace
http://godoc.org/github.com/daaku/go.grace