LifetimeModule is a stateful module that needs to have post-configuration startup and graceful shutdown functionality.
| 28 | // LifetimeModule is a stateful module that needs to have post-configuration |
| 29 | // startup and graceful shutdown functionality. |
| 30 | type LifetimeModule interface { |
| 31 | module.Module |
| 32 | Start() error |
| 33 | Stop() error |
| 34 | } |
| 35 | |
| 36 | type ReloadModule interface { |
| 37 | module.Module |
no outgoing calls
no test coverage detected