2021-03-12 20:01:39 +03:00
2019-04-09 17:25:14 +03:00
2021-03-12 19:39:40 +03:00
2021-03-12 19:39:40 +03:00
2021-03-12 19:39:40 +03:00
2019-04-09 17:55:36 +03:00
2021-03-12 20:01:39 +03:00

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()
Description
graceful terminations for go applications
Readme 38 KiB
Languages
Go 100%