docs & readme
This commit is contained in:
parent
991a4f1f05
commit
ff78530d8b
3
grace.go
3
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.
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user