Versions in this module Expand all Collapse all v0 v0.0.1 Nov 28, 2024 Changes in this version + type Addition struct + Cookies string + OrderBy string + OrderDirection string + RootFolderID string + UploadThread string + type File struct + PFolder *Folder + func (f *File) CreateTime() time.Time + func (f *File) GetHash() utils.HashInfo + func (f *File) GetID() string + func (f *File) GetName() string + func (f *File) GetPKey() string + func (f *File) GetPath() string + func (f *File) GetSize() int64 + func (f *File) IsDir() bool + func (f *File) ModTime() time.Time + type Folder struct + PFolder *Folder + func (f *Folder) CreateTime() time.Time + func (f *Folder) GetHash() utils.HashInfo + func (f *Folder) GetID() string + func (f *Folder) GetName() string + func (f *Folder) GetPKey() string + func (f *Folder) GetPath() string + func (f *Folder) GetSize() int64 + func (f *Folder) IsDir() bool + func (f *Folder) ModTime() time.Time + type WeiYun struct + func (d *WeiYun) Config() driver.Config + func (d *WeiYun) Copy(ctx context.Context, srcObj, dstDir model.Obj) error + func (d *WeiYun) Drop(ctx context.Context) error + func (d *WeiYun) GetAddition() driver.Additional + func (d *WeiYun) GetRoot(ctx context.Context) (model.Obj, error) + func (d *WeiYun) Init(ctx context.Context) error + func (d *WeiYun) Link(ctx context.Context, file model.Obj, args model.LinkArgs) (*model.Link, error) + func (d *WeiYun) List(ctx context.Context, dir model.Obj, args model.ListArgs) ([]model.Obj, error) + func (d *WeiYun) MakeDir(ctx context.Context, parentDir model.Obj, dirName string) (model.Obj, error) + func (d *WeiYun) Move(ctx context.Context, srcObj, dstDir model.Obj) (model.Obj, error) + func (d *WeiYun) Put(ctx context.Context, dstDir model.Obj, stream model.FileStreamer, ...) (model.Obj, error) + func (d *WeiYun) Remove(ctx context.Context, obj model.Obj) error + func (d *WeiYun) Rename(ctx context.Context, srcObj model.Obj, newName string) (model.Obj, error)