Versions in this module Expand all Collapse all v0 v0.0.1 Nov 28, 2024 Changes in this version + var UserAgent = driver115.UA115Browser + type Addition struct + Cookie string + LimitRate float64 + PageSize int64 + QRCodeSource string + QRCodeToken string + ReceiveCode string + ShareCode string + type FileObj struct + FileID string + FileName string + Sha1 string + Size int64 + Utm time.Time + func (f *FileObj) CreateTime() time.Time + func (f *FileObj) GetHash() utils.HashInfo + func (f *FileObj) GetID() string + func (f *FileObj) GetName() string + func (f *FileObj) GetPath() string + func (f *FileObj) GetSize() int64 + func (f *FileObj) IsDir() bool + func (f *FileObj) ModTime() time.Time + type Pan115Share struct + func (d *Pan115Share) Config() driver.Config + func (d *Pan115Share) Copy(ctx context.Context, srcObj, dstDir model.Obj) error + func (d *Pan115Share) Drop(ctx context.Context) error + func (d *Pan115Share) GetAddition() driver.Additional + func (d *Pan115Share) Init(ctx context.Context) error + func (d *Pan115Share) Link(ctx context.Context, file model.Obj, args model.LinkArgs) (*model.Link, error) + func (d *Pan115Share) List(ctx context.Context, dir model.Obj, args model.ListArgs) ([]model.Obj, error) + func (d *Pan115Share) MakeDir(ctx context.Context, parentDir model.Obj, dirName string) error + func (d *Pan115Share) Move(ctx context.Context, srcObj, dstDir model.Obj) error + func (d *Pan115Share) Put(ctx context.Context, dstDir model.Obj, stream model.FileStreamer, ...) error + func (d *Pan115Share) Remove(ctx context.Context, obj model.Obj) error + func (d *Pan115Share) Rename(ctx context.Context, srcObj model.Obj, newName string) error + func (d *Pan115Share) WaitLimit(ctx context.Context) error