Documentation ¶
Index ¶
- type Dao
- func (d *Dao) BPInfo(c context.Context, aid, mid int64, ip string) (data json.RawMessage, err error)
- func (d *Dao) Card(c context.Context, mid int64, sids []int64) (s map[string]*bangumi.Card, err error)
- func (d *Dao) Cards(ctx context.Context, seasonIds []int32) (res map[int32]*seasongrpc.CardInfoProto, err error)
- func (d *Dao) Concern(c context.Context, mid, vmid int64, pn, ps int) (ss []*bangumi.Season, total int, err error)
- func (d *Dao) FavDisplay(c context.Context, mid int64) (bangumi, cinema int, err error)
- func (d *Dao) HasFollows(c context.Context, mid int64) (has bool, err error)
- func (d *Dao) Movie(c context.Context, aid, mid int64, build int, mobiApp, device, ip string) (m *bangumi.Movie, err error)
- func (d *Dao) Season(c context.Context, aid, mid int64, ip string) (s *bangumi.Season, 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 bangumi dao
func (*Dao) BPInfo ¶
func (d *Dao) BPInfo(c context.Context, aid, mid int64, ip string) (data json.RawMessage, err error)
BPInfo get bp info data.
func (*Dao) Card ¶
func (d *Dao) Card(c context.Context, mid int64, sids []int64) (s map[string]*bangumi.Card, err error)
Card bangumi card.
func (*Dao) Cards ¶
func (d *Dao) Cards(ctx context.Context, seasonIds []int32) (res map[int32]*seasongrpc.CardInfoProto, err error)
Cards get bangumis.
func (*Dao) Concern ¶
func (d *Dao) Concern(c context.Context, mid, vmid int64, pn, ps int) (ss []*bangumi.Season, total int, err error)
Concern get concern data from api.
func (*Dao) FavDisplay ¶
FavDisplay fav tab display or not.
func (*Dao) HasFollows ¶
HasFollows get bngumi tab.
Click to show internal directories.
Click to hide internal directories.