Documentation ¶
Index ¶
- Constants
- type Dao
- func (d *Dao) AddAnchorExpLog(ctx context.Context, expInfo *model.ExpLog)
- func (d *Dao) AddRexp(c context.Context, uid int64, rexp int64) (affect int64, err error)
- func (d *Dao) AddUexp(c context.Context, uid int64, uexp int64) (affect int64, err error)
- func (d *Dao) AddUserExpLog(ctx context.Context, expInfo *model.ExpLog)
- func (d *Dao) Close()
- func (d *Dao) DelLevelCache(c context.Context, uid int64) (err error)
- func (d *Dao) Exp(c context.Context, uid int64) (exp *model.Exp, err error)
- func (d *Dao) InitExp(c context.Context, uid int64, uexp int64, rexp int64) (row int64, err error)
- func (d *Dao) LevelCache(c context.Context, uid int64) (level *model.Level, err error)
- func (d *Dao) MultiExp(c context.Context, uids []int64) (exps []*model.Exp, err error)
- func (d *Dao) MultiLevelCache(c context.Context, uids []int64) (level []*model.Level, missed []int64, err error)
- func (d *Dao) Ping(c context.Context) (err error)
- func (d *Dao) SetLevelCache(c context.Context, level *model.Level) (err error)
Constants ¶
View Source
const (
LiveUserExpID = 104 //http://info.bilibili.co/pages/viewpage.action?pageId=8731603
)
consts
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dao ¶
type Dao struct {
// contains filtered or unexported fields
}
Dao struct userexp-service dao
func (*Dao) AddAnchorExpLog ¶
AddAnchorExpLog 加主播等级经验行为日志 is
func (*Dao) AddUserExpLog ¶
AddUserExpLog 加用户等级经验行为日志 is
func (*Dao) DelLevelCache ¶
DelLevelCache 删除等级缓存
func (*Dao) LevelCache ¶
LevelCache 获取等级缓存
Click to show internal directories.
Click to hide internal directories.