Documentation ¶
Index ¶
- type AListV2
- func (d *AListV2) Config() driver.Config
- func (d *AListV2) Copy(ctx context.Context, srcObj, dstDir model.Obj) error
- func (d *AListV2) Drop(ctx context.Context) error
- func (d *AListV2) GetAddition() driver.Additional
- func (d *AListV2) Init(ctx context.Context) error
- func (d *AListV2) Link(ctx context.Context, file model.Obj, args model.LinkArgs) (*model.Link, error)
- func (d *AListV2) List(ctx context.Context, dir model.Obj, args model.ListArgs) ([]model.Obj, error)
- func (d *AListV2) MakeDir(ctx context.Context, parentDir model.Obj, dirName string) error
- func (d *AListV2) Move(ctx context.Context, srcObj, dstDir model.Obj) error
- func (d *AListV2) Put(ctx context.Context, dstDir model.Obj, stream model.FileStreamer, ...) error
- func (d *AListV2) Remove(ctx context.Context, obj model.Obj) error
- func (d *AListV2) Rename(ctx context.Context, srcObj model.Obj, newName string) error
- type Addition
- type File
- type PathReq
- type PathResp
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AListV2 ¶
func (*AListV2) GetAddition ¶
func (d *AListV2) GetAddition() driver.Additional
type File ¶
type File struct { Id string `json:"-"` Name string `json:"name"` Size int64 `json:"size"` Type int `json:"type"` Driver string `json:"driver"` UpdatedAt *time.Time `json:"updated_at"` Thumbnail string `json:"thumbnail"` Url string `json:"url"` SizeStr string `json:"size_str"` TimeStr string `json:"time_str"` }
Click to show internal directories.
Click to hide internal directories.