Versions in this module Expand all Collapse all v0 v0.0.1 Nov 28, 2024 Changes in this version + type Addition struct + ClientID string + ClientSecret string + PageSize int64 + RefreshToken string + SortRule string + UserIP string + type ErrResp struct + ErrorCode int64 + ErrorMsg string + ServerName string + ServerRunTime float64 + func (e *ErrResp) Error() string + func (e *ErrResp) IsError() bool + type FebBox struct + func (d *FebBox) Config() driver.Config + func (d *FebBox) Copy(ctx context.Context, srcObj, dstDir model.Obj) (model.Obj, error) + func (d *FebBox) Drop(ctx context.Context) error + func (d *FebBox) GetAddition() driver.Additional + func (d *FebBox) Init(ctx context.Context) error + func (d *FebBox) Link(ctx context.Context, file model.Obj, args model.LinkArgs) (*model.Link, error) + func (d *FebBox) List(ctx context.Context, dir model.Obj, args model.ListArgs) ([]model.Obj, error) + func (d *FebBox) MakeDir(ctx context.Context, parentDir model.Obj, dirName string) (model.Obj, error) + func (d *FebBox) Move(ctx context.Context, srcObj, dstDir model.Obj) (model.Obj, error) + func (d *FebBox) Put(ctx context.Context, dstDir model.Obj, stream model.FileStreamer, ...) (model.Obj, error) + func (d *FebBox) Remove(ctx context.Context, obj model.Obj) error + func (d *FebBox) Rename(ctx context.Context, srcObj model.Obj, newName string) (model.Obj, error) + type File struct + AddTime int64 + Epub int64 + Ext string + Faststart int64 + Fid int64 + FidOrg int64 + FileCreateTime int64 + FileName string + FileSize int64 + FileUpdateTime int64 + FromUID int64 + HasVideoQuality int64 + Hash string + HashType string + InvitePermission int64 + IsAlbum int64 + IsCustomThumb int64 + IsDir int64 + IsMusicList int64 + IsShared int64 + LastOpenTime int64 + OldHash string + OssFid int64 + ParentID int64 + Path string + Photos int64 + ReadOnly int64 + Remark string + Rules Rules + ShareID int64 + Status int64 + Thumb string + ThumbBig string + ThumbBigHeight int64 + ThumbBigWidth int64 + ThumbHeight int64 + ThumbSmall string + ThumbSmallHeight int64 + ThumbSmallWidth int64 + ThumbWidth int64 + TotalDownload int64 + UID int64 + UpdateTime int64 + type FileDownloadResp struct + Code int + Data []struct{ ... } + Msg string + type FileListResp struct + Code int + Data struct{ ... } + Msg string + type Rules struct + AllowComment int64 + AllowCopy int64 + AllowDelete int64 + AllowDownload int64 + HideLocation int64