Documentation
¶
Index ¶
- func RowKeyPwdLog(mid, ts int64) (res []byte)
- type Dao
- func (d *Dao) Close()
- func (d *Dao) FaceApplies(c context.Context, mid, from, to int64, status, operator string) (res []*model.FaceApply, err error)
- func (d *Dao) HistoryPwds(c context.Context, mid int64) (res []*model.HistoryPwd, err error)
- func (d *Dao) LoginLogs(c context.Context, mid int64, limit int) (res []*model.LoginLog, err error)
- func (d *Dao) Ping(c context.Context) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RowKeyPwdLog ¶
RowKeyPwdLog generate row key of pwd log.
Types ¶
type Dao ¶
type Dao struct {
// contains filtered or unexported fields
}
Dao struct answer history of Dao
func (*Dao) FaceApplies ¶
func (d *Dao) FaceApplies(c context.Context, mid, from, to int64, status, operator string) (res []*model.FaceApply, err error)
FaceApplies get face applies from hbase.
func (*Dao) HistoryPwds ¶
HistoryPwds get history pwd
Click to show internal directories.
Click to hide internal directories.