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

Function newFullHandler

internal/sshserver/Server_test.go:617–632  ·  view source on GitHub ↗

endregion region Full

(
	readyChannel chan struct{},
	shutdownChannel chan struct{},
	passwords map[string][]byte,
	pubKeys map[string]string,
)

Source from the content-addressed store, hash-verified

615//region Full
616
617func newFullHandler(
618 readyChannel chan struct{},
619 shutdownChannel chan struct{},
620 passwords map[string][]byte,
621 pubKeys map[string]string,
622) sshserver.Handler {
623 ctx, cancelFunc := context.WithCancel(context.Background())
624 return &fullHandler{
625 ctx: ctx,
626 cancelFunc: cancelFunc,
627 ready: readyChannel,
628 shutdownDone: shutdownChannel,
629 passwords: passwords,
630 pubKeys: pubKeys,
631 }
632}
633
634//region Handler
635

Callers 1

startMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected