Documentation ¶
Index ¶
- type Dao
- func (d *Dao) AddLoginLog(vs []*model.LoginLog) (err error)
- func (d *Dao) AddLoginLogHBase(c context.Context, loginLog *model.LoginLog) (err error)
- func (d *Dao) AddPwdLogHBase(c context.Context, pwdLog *model.PwdLog) (err error)
- func (d *Dao) BatchGetPwdLog(c context.Context, id int64) (res []*model.PwdLog, err error)
- func (d *Dao) Close() (err error)
- func (d *Dao) DelCache(c context.Context, accessKey string) (err error)
- func (d *Dao) GetPwdLog(c context.Context, id int64) (res *model.PwdLog, err error)
- func (d *Dao) NotifyGame(token *model.AccessInfo, action string) (err error)
- func (d *Dao) Ping(c context.Context) (err error)
- func (d *Dao) QueryEmailBindLog(id int64) (res *model.EmailBindLog, err error)
- func (d *Dao) QueryTelBindLog(id int64) (res *model.TelBindLog, err error)
- func (d *Dao) SetToken(c context.Context, t *model.Token) (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 struct info of Dao.
func (*Dao) AddLoginLog ¶
AddLoginLog insert service to db.
func (*Dao) AddLoginLogHBase ¶
AddLoginLogHBase add login log.
func (*Dao) AddPwdLogHBase ¶
AddPwdLogHBase add pwd log.
func (*Dao) BatchGetPwdLog ¶
BatchGetPwdLog batch get pwd log
func (*Dao) NotifyGame ¶
func (d *Dao) NotifyGame(token *model.AccessInfo, action string) (err error)
NotifyGame notify game.
func (*Dao) QueryEmailBindLog ¶
func (d *Dao) QueryEmailBindLog(id int64) (res *model.EmailBindLog, err error)
QueryEmailBindLog query from id
func (*Dao) QueryTelBindLog ¶
func (d *Dao) QueryTelBindLog(id int64) (res *model.TelBindLog, err error)
QueryTelBindLog query from id
Click to show internal directories.
Click to hide internal directories.