Documentation ¶
Index ¶
- Constants
- type Addition
- type AliyundriveShare
- func (d *AliyundriveShare) Config() driver.Config
- func (d *AliyundriveShare) Drop(ctx context.Context) error
- func (d *AliyundriveShare) GetAddition() driver.Additional
- func (d *AliyundriveShare) Init(ctx context.Context) error
- func (d *AliyundriveShare) Link(ctx context.Context, file model.Obj, args model.LinkArgs) (*model.Link, error)
- func (d *AliyundriveShare) List(ctx context.Context, dir model.Obj, args model.ListArgs) ([]model.Obj, error)
- func (d *AliyundriveShare) Other(ctx context.Context, args model.OtherArgs) (interface{}, error)
- type ErrorResp
- type File
- type ListResp
- type ShareLinkResp
- type ShareTokenResp
Constants ¶
View Source
const ( // CanaryHeaderKey CanaryHeaderValue for lifting rate limit restrictions CanaryHeaderKey = "X-Canary" CanaryHeaderValue = "client=web,app=share,version=v2.3.1" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AliyundriveShare ¶
type AliyundriveShare struct { // contains filtered or unexported fields }
func (*AliyundriveShare) Config ¶
func (d *AliyundriveShare) Config() driver.Config
func (*AliyundriveShare) GetAddition ¶
func (d *AliyundriveShare) GetAddition() driver.Additional
type File ¶
type File struct { DriveId string `json:"drive_id"` DomainId string `json:"domain_id"` FileId string `json:"file_id"` Name string `json:"name"` Type string `json:"type"` CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` ParentFileId string `json:"parent_file_id"` Size int64 `json:"size"` Thumbnail string `json:"thumbnail"` }
type ShareLinkResp ¶ added in v3.0.2
type ShareLinkResp struct {}
type ShareTokenResp ¶
type ShareTokenResp struct {}
Click to show internal directories.
Click to hide internal directories.