gopubssh

package
v0.0.0-...-96dbe26 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2020 License: Apache-2.0 Imports: 10 Imported by: 1

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