Versions in this module Expand all Collapse all v0 v0.0.1 Nov 28, 2024 Changes in this version + type Addition struct + Address string + Cookie string + CustomUA string + EnableThumbAndFolderSize bool + Password string + Username string + type Cloudreve struct + func (d *Cloudreve) Config() driver.Config + func (d *Cloudreve) Copy(ctx context.Context, srcObj, dstDir model.Obj) error + func (d *Cloudreve) Drop(ctx context.Context) error + func (d *Cloudreve) GetAddition() driver.Additional + func (d *Cloudreve) GetThumb(file Object) (model.Thumbnail, error) + func (d *Cloudreve) Init(ctx context.Context) error + func (d *Cloudreve) Link(ctx context.Context, file model.Obj, args model.LinkArgs) (*model.Link, error) + func (d *Cloudreve) List(ctx context.Context, dir model.Obj, args model.ListArgs) ([]model.Obj, error) + func (d *Cloudreve) MakeDir(ctx context.Context, parentDir model.Obj, dirName string) error + func (d *Cloudreve) Move(ctx context.Context, srcObj, dstDir model.Obj) error + func (d *Cloudreve) Put(ctx context.Context, dstDir model.Obj, stream model.FileStreamer, ...) error + func (d *Cloudreve) Remove(ctx context.Context, obj model.Obj) error + func (d *Cloudreve) Rename(ctx context.Context, srcObj model.Obj, newName string) error + type Config struct + CaptchaType string + LoginCaptcha bool + type DirectoryProp struct + Size int + type DirectoryResp struct + Objects []Object + Parent string + Policy Policy + type Object struct + CreateDate time.Time + Date time.Time + Id string + Name string + Path string + Pic string + Size int + SourceEnabled bool + Type string + type Policy struct + FileType []string + Id string + MaxSize int + Name string + Type string + type Resp struct + Code int + Data interface{} + Msg string + type UploadInfo struct + ChunkSize int + Expires int + SessionID string