Documentation ¶
Index ¶
- type Dao
- func (d *Dao) GetLabelCache(ctx context.Context) (res map[int64][]*model.ParamStyle, err error)
- func (d *Dao) Media(ctx context.Context, tvParam *model.MediaParam) (detail *model.SeasonDetail, err error)
- func (d *Dao) MediaV2(ctx context.Context, tvParam *model.MediaParam) (detail *model.SnDetailV2, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dao ¶
type Dao struct {
// contains filtered or unexported fields
}
Dao is account dao.
func (*Dao) GetLabelCache ¶
GetLabelCache .
func (*Dao) Media ¶
func (d *Dao) Media(ctx context.Context, tvParam *model.MediaParam) (detail *model.SeasonDetail, err error)
Media gets the media detail data from PGC API
func (*Dao) MediaV2 ¶
func (d *Dao) MediaV2(ctx context.Context, tvParam *model.MediaParam) (detail *model.SnDetailV2, err error)
MediaV2 gets the media detail data from PGC API V2
Click to show internal directories.
Click to hide internal directories.