Documentation ¶
Index ¶
- type Addition
- type CommonResp
- type FolderOrFile
- type KodBox
- func (d *KodBox) Config() driver.Config
- func (d *KodBox) Copy(ctx context.Context, srcObj, dstDir model.Obj) (model.Obj, error)
- func (d *KodBox) Drop(ctx context.Context) error
- func (d *KodBox) GetAddition() driver.Additional
- func (d *KodBox) Init(ctx context.Context) error
- func (d *KodBox) Link(ctx context.Context, file model.Obj, args model.LinkArgs) (*model.Link, error)
- func (d *KodBox) List(ctx context.Context, dir model.Obj, args model.ListArgs) ([]model.Obj, error)
- func (d *KodBox) MakeDir(ctx context.Context, parentDir model.Obj, dirName string) (model.Obj, error)
- func (d *KodBox) Move(ctx context.Context, srcObj, dstDir model.Obj) (model.Obj, error)
- func (d *KodBox) Put(ctx context.Context, dstDir model.Obj, stream model.FileStreamer, ...) (model.Obj, error)
- func (d *KodBox) Remove(ctx context.Context, obj model.Obj) error
- func (d *KodBox) Rename(ctx context.Context, srcObj model.Obj, newName string) (model.Obj, error)
- type ListPathData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommonResp ¶
type FolderOrFile ¶
type KodBox ¶
func (*KodBox) GetAddition ¶
func (d *KodBox) GetAddition() driver.Additional
type ListPathData ¶
type ListPathData struct { FolderList []FolderOrFile `json:"folderList"` FileList []FolderOrFile `json:"fileList"` }
Click to show internal directories.
Click to hide internal directories.