ssh

package
v0.0.0-...-983cbdb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 7, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SftpClient *sftp.Client

Functions

func CommandExecute

func CommandExecute(command string)

func RemoveDirectory

func RemoveDirectory(remotePath string) *sftp.Client

func RemoveFile

func RemoveFile(path string)

func UploadFile

func UploadFile(filename string, remotePath string, data []uint8) bool

Types

type Ssh

type Ssh struct {
	FileServerIp       string
	FileServerPort     int
	FileServerUser     string
	FileServerPassword string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL