s3

package
v0.0.0-...-367f9bc Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2021 License: MPL-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FTP

type FTP struct {
	// contains filtered or unexported fields
}

func NewFTP

func NewFTP(timeout time.Duration) (*FTP, error)

func (FTP) DeleteDir

func (c FTP) DeleteDir(path string) error

func (FTP) DeleteFile

func (c FTP) DeleteFile(path string) error

func (*FTP) GetFile

func (ftp *FTP) GetFile(path string, offset int64) (int64, io.ReadCloser, error)

func (FTP) Mkdir

func (c FTP) Mkdir(name string, perm os.FileMode) error

func (FTP) ReadDir

func (c FTP) ReadDir(name string) ([]fs.FileInfo, error)

func (FTP) Rename

func (c FTP) Rename(fromPath string, toPath string) error

func (FTP) Stat

func (c FTP) Stat(name string) (os.FileInfo, error)

Jump to

Keyboard shortcuts

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