MCPcopy
hub / github.com/ContainerSSH/ContainerSSH / stop

Method stop

internal/sshserver/Server_test.go:581–587  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

579}
580
581func (h *serverHelper) stop() {
582 if h.lifecycle != nil {
583 shutdownContext, cancelFunc := context.WithTimeout(context.Background(), 60*time.Second)
584 h.lifecycle.Stop(shutdownContext)
585 cancelFunc()
586 }
587}
588
589//endregion
590

Callers 4

TestAuthFailedFunction · 0.80
TestSessionSuccessFunction · 0.80
TestSessionErrorFunction · 0.80
TestPubKeyFunction · 0.80

Calls 1

StopMethod · 0.65

Tested by

no test coverage detected