SignalReceiver represents a subsystem/server/... that can be stopped or queried about the status with a signal
| 19 | // SignalReceiver represents a subsystem/server/... that can be stopped or |
| 20 | // queried about the status with a signal |
| 21 | type SignalReceiver interface { |
| 22 | Stop() error |
| 23 | } |
| 24 | |
| 25 | // Handler handles signals, can be interrupted. |
| 26 | // On SIGINT or SIGTERM it will exit, on SIGQUIT it |
no outgoing calls
no test coverage detected