Documentation ¶
Index ¶
- type Dao
- func (d *Dao) AddArcClick(c context.Context, aid int64, click int) (err error)
- func (d *Dao) AddFilename(c context.Context, filename string) (err error)
- func (d *Dao) ArcClick(c context.Context, aid int64) (click int, err error)
- func (d *Dao) Close() (err error)
- func (d *Dao) DelFilename(c context.Context, filename string) (err error)
- func (d *Dao) DelMonitorCache(c context.Context, aid int64) (err error)
- func (d *Dao) PopFail(c context.Context) (bs []byte, err error)
- func (d *Dao) PopQueue(c context.Context, queue string) (bs []byte, err error)
- func (d *Dao) PushFail(c context.Context, a interface{}) (err error)
- func (d *Dao) PushQueue(c context.Context, a interface{}, queue string) (err error)
- func (d *Dao) SetMonitorCache(c context.Context, aid int64) (had 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 is redis dao.
func (*Dao) AddArcClick ¶
AddArcClick add archive click into redis
func (*Dao) AddFilename ¶
AddFilename set filename expire time
func (*Dao) DelFilename ¶
DelFilename set filename expire time
func (*Dao) DelMonitorCache ¶
DelMonitorCache del monitor cache
Click to show internal directories.
Click to hide internal directories.