Documentation ¶
Index ¶
- type Dao
- func (d *Dao) BeginTran(c context.Context) (tx *sql.Tx, err error)
- func (d *Dao) Close()
- func (d *Dao) ExpireUpRatingCache(c context.Context, mid int64) (err error)
- func (d *Dao) GetUpRatingCache(c context.Context, mid int64) (rating *model.Rating, err error)
- func (d *Dao) Ping(c context.Context) (err error)
- func (d *Dao) SetUpRatingCache(c context.Context, mid int64, rating *model.Rating) (err error)
- func (d *Dao) TaskStatus(c context.Context, date string) (status int, err error)
- func (d *Dao) UpScore(c context.Context, mon int, mid int64, date string) (score *model.Score, err error)
- func (d *Dao) White(c context.Context, mid int64) (count int64, 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 def dao struct
func (*Dao) ExpireUpRatingCache ¶
ExpireUpRatingCache ...
func (*Dao) GetUpRatingCache ¶
GetUpRatingCache ...
func (*Dao) SetUpRatingCache ¶
SetUpRatingCache ...
func (*Dao) TaskStatus ¶
TaskStatus ...
Click to show internal directories.
Click to hide internal directories.