Skip to content

jar3b/grawt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

grawt

graceful terminations for go applications

example usage

var waiter = grawt.NewWaiter()

waiter.AddCloseHandler(func() {
		nacl.FinalizeStan()
	}, false)

// blocking wait, if no need to block (with http server, for example), you can omit .Wait() call
waiter.Wait()

About

graceful terminations for go applications

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages