Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SecureCopier ¶
type SecureCopier struct { RemoteUser string RemoteAddress string RemotePort string PrivateKeyPath string SSHAgent *agent.Keyring }
func NewSecureCopier ¶
func NewSecureCopier(remoteUser, remoteAddress, remotePort, privateKeyPath string, sshAgent *agent.Keyring) *SecureCopier
func (*SecureCopier) ReadBytes ¶
func (s *SecureCopier) ReadBytes(remotePath string) ([]byte, error)
func (*SecureCopier) Write ¶
func (s *SecureCopier) Write(localPath, remotePath string) error
Click to show internal directories.
Click to hide internal directories.