Documentation ¶
Index ¶
- type Dao
- func (d *Dao) Close()
- func (d *Dao) DelEquipCache(c context.Context, mid int64) (err error)
- func (d *Dao) DelPKGCache(c context.Context, mid int64) (err error)
- func (d *Dao) ExpireEquipPendant(c context.Context, expires int64) (res []int64, err error)
- func (d *Dao) PendantEquipGidPid(c context.Context, pid int64) (gid int64, err error)
- func (d *Dao) PendantEquipMID(c context.Context, mid int64) (pe *model.PendantEquip, err error)
- func (d *Dao) Ping(c context.Context) (err error)
- func (d *Dao) UpEquipExpires(c context.Context, mid, expires int64) (affected int64, err error)
- func (d *Dao) UpEquipMID(c context.Context, mid int64) (affected 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 struct info of Dao.
func (*Dao) DelEquipCache ¶
DelEquipCache set pendant info cache
func (*Dao) DelPKGCache ¶
DelPKGCache del package cache
func (*Dao) ExpireEquipPendant ¶
ExpireEquipPendant get expire equip pendant
func (*Dao) PendantEquipGidPid ¶
PendantEquipGidPid get gid of its equip pendant by pid.
func (*Dao) PendantEquipMID ¶
PendantEquipMID get user equip pendant by mid.
func (*Dao) UpEquipExpires ¶
UpEquipExpires update equip expires by mid
Click to show internal directories.
Click to hide internal directories.