Skip to content
This repository was archived by the owner on Feb 16, 2018. It is now read-only.

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

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages