MCPcopy
hub / github.com/ContainerSSH/ContainerSSH / OnClose

Method OnClose

internal/sshserver/handler.go:468–468  ·  view source on GitHub ↗

endregion region closing the channel OnClose is called when the channel is closed.

()

Source from the content-addressed store, hash-verified

466
467 // OnClose is called when the channel is closed.
468 OnClose()
469
470 // OnShutdown is called when a shutdown of the SSH server is desired. The shutdownContext is passed as a deadline
471 // for the shutdown, after which the server should abort all running connections and return as fast as

Callers 2

OnCloseMethod · 0.65
handleSessionChannelMethod · 0.65

Implementers 8

sessionChannelHandlerinternal/auditlogintegration/handler_s
backendHandlerinternal/auditlogintegration/integrati
sessionHandlerinternal/security/handler_session.go
dummyBackendinternal/security/handler_session_test
channelHandlerinternal/kubernetes/channelHandler.go
AbstractSessionChannelHandlerinternal/sshserver/AbstractSessionChan
dummySessioninternal/metricsintegration/integratio
sshChannelHandlerinternal/sshproxy/sshChannelHandler.go

Calls

no outgoing calls

Tested by

no test coverage detected