gopubssh

package
v0.0.0-...-d733991 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CommandLocal

func CommandLocal(cmd string, to int) (sshexec.ExecResult, error)

func LocalExec

func LocalExec(cmd string) sshexec.ExecResult

func TransP2pReName

func TransP2pReName(id string, hosts []string, user string, localFilePath string, remoteFilePath string, to int) error

func TransferByP2p

func TransferByP2p(id string, hosts []string, user string, localFilePath string, remoteFilePath string, to int) ([]sshexec.ExecResult, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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