Skip to content

Goroutine tracking and graceful shut down.

License

Notifications You must be signed in to change notification settings

rravenel/spackler

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spackler

Spackler enables graceful application termination. It allows running tasks to complete while preventing new tasks from starting. Spackler accomplishes this by managing goroutines and exiting timer loops. This can be of value, for example, in preserving data integrity.

Other features:

  • Stop signal available for custom use such as exiting loops
  • Custom registration for system signals (SIGINT, SIGIO, etc.)
  • Programmatic termination

Build Status Coverage GoDoc

Install

go get github.com/Hearst-DD/spackler

And import:

import "github.com/Hearst-DD/spackler"
Package Name

This package is named for Carl Spackler, the fictional golf caddy and greenskeeper portrayed by actor Bill Murray in the film, 'Caddyshack', who is entrusted with the graceful termination of gophers.

About

Goroutine tracking and graceful shut down.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%