Documentation ¶
Index ¶
- func New() driver.Driver
- type Addition
- type FTP
- func (d *FTP) Config() driver.Config
- func (d *FTP) Copy(ctx context.Context, srcObj, dstDir model.Obj) error
- func (d *FTP) Drop(ctx context.Context) error
- func (d *FTP) GetAddition() driver.Additional
- func (d *FTP) Init(ctx context.Context, storage model.Storage) error
- func (d *FTP) Link(ctx context.Context, file model.Obj, args model.LinkArgs) (*model.Link, error)
- func (d *FTP) List(ctx context.Context, dir model.Obj, args model.ListArgs) ([]model.Obj, error)
- func (d *FTP) MakeDir(ctx context.Context, parentDir model.Obj, dirName string) error
- func (d *FTP) Move(ctx context.Context, srcObj, dstDir model.Obj) error
- func (d *FTP) Put(ctx context.Context, dstDir model.Obj, stream model.FileStreamer, ...) error
- func (d *FTP) Remove(ctx context.Context, obj model.Obj) error
- func (d *FTP) Rename(ctx context.Context, srcObj model.Obj, newName string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.