Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func TransferFile ¶
func TransferFile(conf TransferConfig) error
TransferFile transfers file between two hosts using scp. FIXME: support context
Types ¶
type TransferConfig ¶
type TransferConfig struct {
Direct TransferDirect
RemoteAddr string
RemotePath string
LocalPath string
}
Click to show internal directories.
Click to hide internal directories.