2019-04-09 17:25:14 +03:00
2020-10-30 18:20:27 +03:00
2020-10-30 18:20:27 +03:00
2019-04-09 17:25:14 +03:00
2019-04-09 17:55:36 +03:00
2020-10-30 18:20:27 +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%