Documentation ¶
Index ¶
- type Dao
- func (d *Dao) AddChangePWDRecord(c context.Context, mid int64) (err error)
- func (d *Dao) AddCount(c context.Context, mid int64, uuid string) (err error)
- func (d *Dao) AddDCheckCache(c context.Context, mid int64) (err error)
- func (d *Dao) AddException(c context.Context, l *model.Log) (err error)
- func (d *Dao) AddExpectionMsg(c context.Context, l *model.Log) (err error)
- func (d *Dao) AddFeedBack(c context.Context, l *model.Log) (err error)
- func (d *Dao) AddLocs(c context.Context, mid, locid, ts int64) (err error)
- func (d *Dao) AddLocsCache(c context.Context, mid int64, locs *model.Locs) (err error)
- func (d *Dao) AddUnNotify(c context.Context, mid int64, uuid string) (err error)
- func (d *Dao) ChangePWDRecord(c context.Context, mid int64) (b bool, err error)
- func (d *Dao) Close()
- func (d *Dao) Count(c context.Context, mid int64, uuid string) (count int64, err error)
- func (d *Dao) DCheckCache(c context.Context, mid int64) (b bool, err error)
- func (d *Dao) DelCount(c context.Context, mid int64) (err error)
- func (d *Dao) DelUnNotify(c context.Context, mid int64) (err error)
- func (d *Dao) DoubleCheck(c context.Context, mid int64) (err error)
- func (d *Dao) ExceptionLoc(c context.Context, mid int64) (eps []*model.Expection, err error)
- func (d *Dao) ExpectionMsg(c context.Context, mid int64) (msg *model.Log, err error)
- func (d *Dao) Locs(c context.Context, mid int64) (locs map[int64]int64, err error)
- func (d *Dao) LocsCache(c context.Context, mid int64) (locs map[int64]int64, err error)
- func (d *Dao) UnNotify(c context.Context, mid int64, uuid string) (b bool, 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) AddChangePWDRecord ¶
AddChangePWDRecord set user change passwd record to cache.
func (*Dao) AddDCheckCache ¶
AddDCheckCache add double check cache.
func (*Dao) AddException ¶
AddException add feedback.
func (*Dao) AddExpectionMsg ¶
AddExpectionMsg add user login expection msg.
func (*Dao) AddFeedBack ¶
AddFeedBack add feedback
func (*Dao) AddLocsCache ¶
AddLocsCache add login locs count to cache.
func (*Dao) AddUnNotify ¶
AddUnNotify user unnotiry uuid.
func (*Dao) ChangePWDRecord ¶
ChangePWDRecord check if user had change pwd recently one month.
func (*Dao) DCheckCache ¶
DCheckCache check if user had notify by double check.
func (*Dao) DelUnNotify ¶
DelUnNotify del user unnotify record.
func (*Dao) DoubleCheck ¶
DoubleCheck notify passport to remove login.
func (*Dao) ExceptionLoc ¶
ExceptionLoc get exception loc.
func (*Dao) ExpectionMsg ¶
ExpectionMsg get user expection msg.
Click to show internal directories.
Click to hide internal directories.