MCPcopy
hub / github.com/ContainerSSH/ContainerSSH / NewTestHandler

Function NewTestHandler

internal/sshserver/NewTestHandler.go:5–7  ·  view source on GitHub ↗

NewTestHandler creates a conformanceTestHandler that can be used for testing purposes. It does not authenticate, that can be done using the NewTestAuthenticationHandler

()

Source from the content-addressed store, hash-verified

3// NewTestHandler creates a conformanceTestHandler that can be used for testing purposes. It does not authenticate, that can be done
4// using the NewTestAuthenticationHandler
5func NewTestHandler() Handler {
6 return &testHandlerImpl{}
7}

Callers 4

TestAuthGSSAPIFunction · 0.92
TestKeepAliveFunction · 0.92
TestProperShutdownFunction · 0.92

Calls

no outgoing calls

Tested by 4

TestAuthGSSAPIFunction · 0.74
TestKeepAliveFunction · 0.74
TestProperShutdownFunction · 0.74