(lifecycle service.Lifecycle, exited chan struct{})
| 1347 | } |
| 1348 | |
| 1349 | func (s *serverImpl) shutdownHandler(lifecycle service.Lifecycle, exited chan struct{}) { |
| 1350 | s.handler.OnShutdown(lifecycle.ShutdownContext()) |
| 1351 | exited <- struct{}{} |
| 1352 | } |
| 1353 | |
| 1354 | type shutdownHandler interface { |
| 1355 | OnShutdown(shutdownContext context.Context) |
no test coverage detected