Documentation ¶
Index ¶
- type Dao
- func (d *Dao) Archive(c context.Context, aid int64) (a *api.Arc, err error)
- func (d *Dao) Archives(c context.Context, aids []int64) (a map[int64]*api.Arc, err error)
- func (d *Dao) ArticleMetas(c context.Context, aids []int64) (res map[int64]*model.Meta, err error)
- func (d *Dao) Close() (err error)
- func (d *Dao) Ping(c context.Context) (err error)
- func (d *Dao) Stats(c context.Context, aids []int64) (a map[int64]*api.Stat, err error)
- func (d *Dao) UpCount(c context.Context, mid int64) (count int, err error)
- func (d *Dao) View(c context.Context, mid, aid int64) (av *model.ArcVideo, 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 archive dao.
func (*Dao) ArticleMetas ¶
ArticleMetas batch get articles by aids.
Click to show internal directories.
Click to hide internal directories.