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

Struct serverImpl

internal/sshserver/serverImpl.go:30–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28}
29
30type serverImpl struct {
31 cfg config.SSHConfig
32 logger log.Logger
33 handler Handler
34 listenSocket net.Listener
35 wg *sync.WaitGroup
36 lock *sync.Mutex
37 clientSockets map[*ssh.ServerConn]bool
38 connMap map[string]connection
39 nextGlobalRequestID uint64
40 nextChannelID uint64
41 hostKeys []ssh.Signer
42 shutdownHandlers *shutdownRegistry
43 shuttingDown bool
44}
45
46func (s *serverImpl) String() string {
47 return "SSH server"

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected