Documentation ¶
Index ¶
- type Dao
- func (d *Dao) Close()
- func (d *Dao) Ping(c context.Context) (err error)
- func (d *Dao) PopMsgCache(c context.Context) (msg *message.Videoup, err error)
- func (d *Dao) PopMultSync(c context.Context) (res *archive.MultSyncParam, err error)
- func (d *Dao) PushMsgCache(c context.Context, msg *message.Videoup) (err error)
- func (d *Dao) PushMultSync(c context.Context, sync *archive.MultSyncParam) (ok 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) PopMsgCache ¶
PopMsgCache get databus message from redis
func (*Dao) PopMultSync ¶
PopMultSync lpop stuct item from redis
func (*Dao) PushMsgCache ¶
PushMsgCache add message into redis.
func (*Dao) PushMultSync ¶
PushMultSync rpush stuct item to redis
Click to show internal directories.
Click to hide internal directories.