Documentation ¶
Index ¶
- type Dao
- func (d *Dao) CacheHasReward(c context.Context, mid, subID int64, step int) (bool, error)
- func (d *Dao) CacheResetCD(c context.Context, mid int64, cd int32) (bool, error)
- func (d *Dao) CacheTimeFinish(c context.Context) (res int64, err error)
- func (d *Dao) Close()
- func (d *Dao) DelCacheHasReward(c context.Context, mid, subID int64, step int) error
- func (d *Dao) DelCacheTimeFinish(c context.Context) (err error)
- func (d *Dao) DelCacheTimeLess(c context.Context) (err error)
- func (d *Dao) GrantCoupon(c context.Context, mid int64, couponID string) (err error)
- func (d *Dao) HasReward(c context.Context, mid, subID int64, step int) (res bool, err error)
- func (d *Dao) TTLResetCD(c context.Context, mid int64) (ttl 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 bnj dao.
func (*Dao) CacheHasReward ¶
CacheHasReward .
func (*Dao) CacheResetCD ¶
CacheResetCD .
func (*Dao) CacheTimeFinish ¶
CacheTimeFinish get data from mc
func (*Dao) DelCacheHasReward ¶
DelCacheHasReward .
func (*Dao) DelCacheTimeFinish ¶
DelCacheTimeFinish delete data from mc
func (*Dao) DelCacheTimeLess ¶
DelCacheTimeLess delete data from mc
func (*Dao) GrantCoupon ¶
GrantCoupon grant coupon to mid.
Click to show internal directories.
Click to hide internal directories.