Documentation ¶
Index ¶
- type Addition
- type File
- type Media
- type PikPakShare
- func (d *PikPakShare) Config() driver.Config
- func (d *PikPakShare) Drop(ctx context.Context) error
- func (d *PikPakShare) GetAddition() driver.Additional
- func (d *PikPakShare) Init(ctx context.Context) error
- func (d *PikPakShare) Link(ctx context.Context, file model.Obj, args model.LinkArgs) (*model.Link, error)
- func (d *PikPakShare) List(ctx context.Context, dir model.Obj, args model.ListArgs) ([]model.Obj, error)
- type RespErr
- type ShareResp
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Media ¶
type Media struct { MediaId string `json:"media_id"` MediaName string `json:"media_name"` Video struct { Height int `json:"height"` Width int `json:"width"` Duration int `json:"duration"` BitRate int `json:"bit_rate"` FrameRate int `json:"frame_rate"` VideoCodec string `json:"video_codec"` AudioCodec string `json:"audio_codec"` VideoType string `json:"video_type"` } `json:"video"` Link struct { Url string `json:"url"` Token string `json:"token"` Expire time.Time `json:"expire"` } `json:"link"` NeedMoreQuota bool `json:"need_more_quota"` VipTypes []interface{} `json:"vip_types"` RedirectLink string `json:"redirect_link"` IconLink string `json:"icon_link"` IsDefault bool `json:"is_default"` Priority int `json:"priority"` IsOrigin bool `json:"is_origin"` ResolutionName string `json:"resolution_name"` IsVisible bool `json:"is_visible"` Category string `json:"category"` }
type PikPakShare ¶
type PikPakShare struct {}
func (*PikPakShare) Config ¶
func (d *PikPakShare) Config() driver.Config
func (*PikPakShare) GetAddition ¶
func (d *PikPakShare) GetAddition() driver.Additional
Click to show internal directories.
Click to hide internal directories.