sftp

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2021 License: MIT Imports: 16 Imported by: 1

Documentation

Overview

sftp file downloader implementation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SftpDownloader

type SftpDownloader struct {
}

sftp file downloader implementation

func (*SftpDownloader) Browse

func (sftpDownloader *SftpDownloader) Browse(destination *models.ParsedDestination) ([]*models.RemoteFile, error)

func (*SftpDownloader) Download

func (sftpDownloader *SftpDownloader) Download(remoteFile *models.RemoteFile) (*models.RemoteFileContent, error)

func (*SftpDownloader) Remove added in v1.1.2

func (sftpDownloader *SftpDownloader) Remove(remoteFile *models.RemoteFile) error

func (*SftpDownloader) Stat

func (sftpDownloader *SftpDownloader) Stat(destination *models.ParsedDestination) (*models.RemoteFile, error)

Jump to

Keyboard shortcuts

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