MCPcopy Index your code
hub / github.com/ContainerSSH/ContainerSSH / shutdownHandler

Method shutdownHandler

internal/sshserver/serverImpl.go:1349–1352  ·  view source on GitHub ↗
(lifecycle service.Lifecycle, exited chan struct{})

Source from the content-addressed store, hash-verified

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

Callers 1

RunWithLifecycleMethod · 0.95

Calls 2

OnShutdownMethod · 0.65
ShutdownContextMethod · 0.65

Tested by

no test coverage detected