SignalHandlerLoop blocks until it receives a SIGINT, SIGTERM or SIGQUIT. For SIGINT and SIGTERM, it exits; for SIGQUIT is print a goroutine stack dump.
(log log.Logger, ss ...SignalReceiver)
| 76 | // For SIGINT and SIGTERM, it exits; for SIGQUIT is print a goroutine stack |
| 77 | // dump. |
| 78 | func SignalHandlerLoop(log log.Logger, ss ...SignalReceiver) { |
| 79 | NewHandler(log, ss...).Loop() |
| 80 | } |
nothing calls this directly
no test coverage detected