Skip to content

Commit

Permalink
init commit
Browse files Browse the repository at this point in the history
  • Loading branch information
m.gavrilenko committed May 4, 2021
1 parent 20b6df7 commit cd4148d
Show file tree
Hide file tree
Showing 7 changed files with 1,155 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
*.dll
*.so
*.dylib
*.idea

# Test binary, built with `go test -c`
*.test
Expand Down
25 changes: 25 additions & 0 deletions executor_structures.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
package sshExecutor

// Ssh term sizes
const (
xTermHeight = 80
xTermWidth = 40
)

// Params for scp file sending
type FilePathParams struct {
RootFolder string
FolderName string
FolderRights string
FileName string
FileRights string
Content string
}

// Params for ssh connection
type ConnectParams struct {
Host string
Port string
User string
Psw string
}
Loading

0 comments on commit cd4148d

Please sign in to comment.