scp

package
v0.19.0 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2019 License: MIT Imports: 15 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(command string, in io.Reader, out io.Writer, verbose bool) error

New starts a new SCP file transfer.

func NewLogger added in v0.15.0

func NewLogger(command string, in io.Reader, out io.Writer, verbose bool, l logger) error

NewLogger 's sole purpose is to specify a logger to use by scp. This is used to integrate with xCUTEr's telemetry package.

Types

type FileInfo added in v0.5.1

type FileInfo interface {
	os.FileInfo
	AccessTime() time.Time
}

FileInfo provides informations about a file system object, like files or directories.

Jump to

Keyboard shortcuts

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