Documentation ¶
Index ¶
- type Addition
- type BaiduShare
- func (d *BaiduShare) Config() driver.Config
- func (d *BaiduShare) Copy(ctx context.Context, srcObj, dstDir model.Obj) error
- func (d *BaiduShare) Drop(ctx context.Context) error
- func (d *BaiduShare) GetAddition() driver.Additional
- func (d *BaiduShare) Init(ctx context.Context) error
- func (d *BaiduShare) Link(ctx context.Context, file model.Obj, args model.LinkArgs) (*model.Link, error)
- func (d *BaiduShare) List(ctx context.Context, dir model.Obj, args model.ListArgs) ([]model.Obj, error)
- func (d *BaiduShare) MakeDir(ctx context.Context, parentDir model.Obj, dirName string) error
- func (d *BaiduShare) Move(ctx context.Context, srcObj, dstDir model.Obj) error
- func (d *BaiduShare) Put(ctx context.Context, dstDir model.Obj, stream model.FileStreamer, ...) error
- func (d *BaiduShare) Remove(ctx context.Context, obj model.Obj) error
- func (d *BaiduShare) Rename(ctx context.Context, srcObj model.Obj, newName string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaiduShare ¶
type BaiduShare struct { // contains filtered or unexported fields }
func (*BaiduShare) Config ¶
func (d *BaiduShare) Config() driver.Config
func (*BaiduShare) GetAddition ¶
func (d *BaiduShare) GetAddition() driver.Additional
func (*BaiduShare) Put ¶
func (d *BaiduShare) Put(ctx context.Context, dstDir model.Obj, stream model.FileStreamer, up driver.UpdateProgress) error
Click to show internal directories.
Click to hide internal directories.