Documentation ¶
Index ¶
- type Dao
- func (d *Dao) Audit(c context.Context) (res map[string][]int, err error)
- func (d *Dao) Close()
- func (d *Dao) Ping(c context.Context) error
- func (d *Dao) PosRecs(c context.Context, now time.Time) (res map[int8][]*model.Card, err error)
- func (d *Dao) RecContents(c context.Context, now time.Time) (res map[int][]*model.Content, aids map[int][]int64, err error)
- func (d *Dao) Relate(c context.Context, now time.Time) (relates []*model.Relate, err error)
- func (d *Dao) SideBar(ctx context.Context, now time.Time) (ss []*model.SideBar, limits map[int64][]*model.SideBarLimit, 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 resource dao.
func (*Dao) RecContents ¶
func (d *Dao) RecContents(c context.Context, now time.Time) (res map[int][]*model.Content, aids map[int][]int64, err error)
RecContents get resource contents
Click to show internal directories.
Click to hide internal directories.