MCPcopy
hub / github.com/ContainerSSH/ContainerSSH / OnReady

Method OnReady

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

OnReady is called when the server is ready to receive connections. It has an opportunity to return an error to abort the startup.

()

Source from the content-addressed store, hash-verified

20 // OnReady is called when the server is ready to receive connections. It has an opportunity to return an error to
21 // abort the startup.
22 OnReady() error
23
24 // OnShutdown is called when a shutdown of the SSH server is desired. The shutdownContext is passed as a deadline
25 // for the shutdown, after which the server should abort all running connections and return as fast as

Callers 5

OnReadyMethod · 0.65
OnReadyMethod · 0.65
RunWithLifecycleMethod · 0.65
OnReadyMethod · 0.65
OnReadyMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected