Skip to content
This repository has been archived by the owner on Feb 16, 2018. It is now read-only.
/ mannersagain Public archive

Drop-in graceful hot restarting of net/http servers

License

Notifications You must be signed in to change notification settings

tent/mannersagain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

mannersagain

Package mannersagain combines manners and goagain to provide graceful hot restarting of net/http servers.

To use it, just replace your call to http.ListenAndServe with a call to mannersagain.ListenAndServe. When you send SIGUSR2 to the process, it will pass the listener to a new process and exit gracefully. When you send SIGQUIT to the process it will exit gracefully.

mannersagain supports both of the Single and Double strategies that goagain provides, set goagain.Strategy before calling ListenAndServe to change the default.

About

Drop-in graceful hot restarting of net/http servers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages