From ff78530d8b60a743384466e801239daa8f1178af Mon Sep 17 00:00:00 2001 From: Naitik Shah Date: Mon, 25 Mar 2013 13:53:07 -0700 Subject: [PATCH] docs & readme --- grace.go | 3 +++ readme.md | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/grace.go b/grace.go index cf5b703..d9a9254 100644 --- a/grace.go +++ b/grace.go @@ -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. diff --git a/readme.md b/readme.md index edb7f2b..11289cf 100644 --- a/readme.md +++ b/readme.md @@ -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