Versions in this module Expand all Collapse all v0 v0.0.1 Nov 28, 2024 Changes in this version + type Addition struct + AccessToken string + FamilyID string + RefreshToken string + SortRule string + type Object struct + FID string + type Wopan struct + func (d *Wopan) Config() driver.Config + func (d *Wopan) Copy(ctx context.Context, srcObj, dstDir model.Obj) error + func (d *Wopan) Drop(ctx context.Context) error + func (d *Wopan) GetAddition() driver.Additional + func (d *Wopan) Init(ctx context.Context) error + func (d *Wopan) Link(ctx context.Context, file model.Obj, args model.LinkArgs) (*model.Link, error) + func (d *Wopan) List(ctx context.Context, dir model.Obj, args model.ListArgs) ([]model.Obj, error) + func (d *Wopan) MakeDir(ctx context.Context, parentDir model.Obj, dirName string) error + func (d *Wopan) Move(ctx context.Context, srcObj, dstDir model.Obj) error + func (d *Wopan) Put(ctx context.Context, dstDir model.Obj, stream model.FileStreamer, ...) error + func (d *Wopan) Remove(ctx context.Context, obj model.Obj) error + func (d *Wopan) Rename(ctx context.Context, srcObj model.Obj, newName string) error