ftpstore

package
v0.0.0-...-4aac04f Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: BSD-2-Clause Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrMissingBaseDir = errors.New("Empty base directory for file store")
)

Functions

func NewFtpStoreHandler

func NewFtpStoreHandler(cfg FtpStoreConfig) (*ftpstore, error)

Types

type FtpStoreConfig

type FtpStoreConfig struct {
	FtpServer  string // addr:port
	LocalStore string // path where we can keep some files locally
	BaseDir    string // base directory *on the server*
	Username   string
	Password   string
	Lgr        *log.Logger
}

Jump to

Keyboard shortcuts

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