fileclient

package
v0.0.0-...-fcb1268 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2018 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CatchPanicAsError

func CatchPanicAsError(errPointer *error)

Types

type Client

type Client interface {
	Download(serverUrl, localPath, remotePath string) error
	DownloadDirFiltered(serverUrl, localPath, remotePath, dirFileFilterPattern string) error
	Upload(serverUrl, localPath, remotePath string) error
	UploadDirFiltered(serverUrl, localPath, remotePath, dirFileFilterPattern string) error
	Delete(serverUrl, remotePath string) error
	DeleteDirFiltered(serverUrl, remotePath, dirFileFilterPattern string) error
	Move(serverUrl, oldRemotePath, newRemotePath string) error
	Stats(serverUrl, remotePath string) (*Stats, error)
}

func New

func New(simpleLogger ziputils.SimpleLogger) Client

type Stats

type Stats struct {
	Exists bool
	IsDir  bool
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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