2012-07-08 05:38:18 +08:00
|
|
|
go.grace [![Build Status](https://secure.travis-ci.org/daaku/go.grace.png)](http://travis-ci.org/daaku/go.grace)
|
2012-06-05 12:56:51 +08:00
|
|
|
========
|
|
|
|
|
|
|
|
Package grace provides a library that makes it easy to build socket
|
|
|
|
based servers that can be gracefully terminated & restarted (that is,
|
|
|
|
without dropping any connections).
|
|
|
|
|
|
|
|
Demo HTTP Server with graceful termination and restart:
|
2012-07-08 05:38:18 +08:00
|
|
|
https://github.com/daaku/go.grace/blob/master/gracedemo/demo.go
|
2012-06-05 12:56:51 +08:00
|
|
|
|
|
|
|
http level graceful termination and restart:
|
2013-03-26 04:53:07 +08:00
|
|
|
http://godoc.org/github.com/daaku/go.grace/gracehttp
|
2012-06-05 12:56:51 +08:00
|
|
|
|
|
|
|
net.Listener level graceful termination and restart:
|
2013-03-26 04:53:07 +08:00
|
|
|
http://godoc.org/github.com/daaku/go.grace
|