Skip to content

wfxiang08/go-zerodown

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-zerodown

GoDoc Build Status

go-zerodown provides a listener which can shutdown gracefully and relaunch in another process. It mainly use in upgrading http server without completely shut down the service.

You can run the example of example/main.go like this:

go build example/main.go
./main &
curl http://localhost:8000/upgrade

Then you should see the main process relaunched and old one quit without service shutdown.

About

go-zerodown provides a listener which can shutdown gracefully and relaunch in another process.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages