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

Method OnNetworkConnection

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

OnNetworkConnection is called when a new network connection is opened. It must either return a NetworkConnectionHandler object or an error. In case of an error the network connection is closed.

(metadata.ConnectionMetadata)

Source from the content-addressed store, hash-verified

29 // OnNetworkConnection is called when a new network connection is opened. It must either return a
30 // NetworkConnectionHandler object or an error. In case of an error the network connection is closed.
31 OnNetworkConnection(metadata.ConnectionMetadata) (NetworkConnectionHandler, metadata.ConnectionMetadata, error)
32}
33
34// AuthResponse is the result of the authentication process.

Callers 7

OnNetworkConnectionMethod · 0.65
OnNetworkConnectionMethod · 0.65
handleConnectionMethod · 0.65
OnNetworkConnectionMethod · 0.65
testAuthSuccessfulFunction · 0.65
testAuthFailedFunction · 0.65
OnNetworkConnectionMethod · 0.65

Calls

no outgoing calls

Tested by 2

testAuthSuccessfulFunction · 0.52
testAuthFailedFunction · 0.52