refactor: clean up code from comments

This commit is contained in:
Patryk Hegenberg 2025-04-02 14:21:33 +02:00
parent 4ceed6f301
commit 29bdd3a2a4
8 changed files with 150 additions and 252 deletions

3
ssh.go
View file

@ -8,12 +8,11 @@ import (
type SSHConnection struct {
client *ssh.Client
// session *ssh.Session // Session wird für Forwarding nicht direkt benötigt
}
func (s *SSHConnection) Close() error {
if s.client != nil {
log.Println("DEBUG: Closing SSH client connection.") // Optional Debug Log
log.Println("DEBUG: Closing SSH client connection.")
return s.client.Close()
}
return nil