Versions in this module Expand all Collapse all v3 v3.35.0 May 23, 2024 v3.34.0 May 2, 2024 v3.33.0 Mar 25, 2024 v3.32.0 Mar 2, 2024 v3.31.0 Feb 23, 2024 Changes in this version + type Conf struct v3.30.0 Jan 5, 2024 Changes in this version + const Base + const DefaultPartSize + var AesSecret = []byte("lanZouY-disk-app") + type Addition struct + Password string + Token string + UUID string + Username string + type ILanZou struct + func (d *ILanZou) Config() driver.Config + func (d *ILanZou) Copy(ctx context.Context, srcObj, dstDir model.Obj) (model.Obj, error) + func (d *ILanZou) Drop(ctx context.Context) error + func (d *ILanZou) GetAddition() driver.Additional + func (d *ILanZou) Init(ctx context.Context) error + func (d *ILanZou) Link(ctx context.Context, file model.Obj, args model.LinkArgs) (*model.Link, error) + func (d *ILanZou) List(ctx context.Context, dir model.Obj, args model.ListArgs) ([]model.Obj, error) + func (d *ILanZou) MakeDir(ctx context.Context, parentDir model.Obj, dirName string) (model.Obj, error) + func (d *ILanZou) Move(ctx context.Context, srcObj, dstDir model.Obj) (model.Obj, error) + func (d *ILanZou) Put(ctx context.Context, dstDir model.Obj, stream model.FileStreamer, ...) (model.Obj, error) + func (d *ILanZou) Remove(ctx context.Context, obj model.Obj) error + func (d *ILanZou) Rename(ctx context.Context, srcObj model.Obj, newName string) (model.Obj, error) + type ListItem struct + AddTime string + FileComments int + FileDownloads int + FileIcon string + FileId int64 + FileLikes int + FileName string + FileSize int64 + FileStars float64 + FileType int + FileUrl interface{} + FolderDesc string + FolderIcon string + FolderId int64 + FolderName string + IconId int + IsAmt int + IsFileDownload int + IsFileShare int + IsShare int + NoteType int + ParentId int64 + ParentName string + Status int + UpdTime string + type ListResp struct + Code int + Limit int + List []ListItem + Msg string + Offset int + Total int + TotalPage int + type Part struct + ETag string + PartNumber int + type UploadResultResp struct + Code int + List []struct{ ... } + Msg string