sftpclient

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2019 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	*sftp.Client
}

Client Wrapper around sftp.Client

func NewClient

func NewClient() Client

NewClient creates a new SFTP client

func (*Client) GetFile

func (c *Client) GetFile(srcFilePath string, dstFilePath string)

GetFile copies source file to destination file

Jump to

Keyboard shortcuts

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