refactor: separate session responsibilities and inject dependencies
Some checks failed
Docker Build and Push / build-and-push (push) Has been cancelled

This commit is contained in:
2025-11-28 13:29:43 +07:00
parent 9c4ac732ee
commit d3a5007d68
6 changed files with 521 additions and 360 deletions

View File

@ -109,6 +109,6 @@ func HandlerTLS(conn net.Conn) {
sshSession.HandleForwardedConnection(session.UserConnection{
Reader: reader,
Writer: conn,
}, sshSession.Connection)
}, sshSession.Conn)
return
}