Documentation ¶
Index ¶
- func RCmd(rclient redis.Conn, cmd string, args ...interface{}) (interface{}, error)
- func RDel(rclient redis.Conn, key string)
- func RHGetMap(rclient redis.Conn, key string, field string) (map[string]interface{}, error)
- func RHMSet(rclient redis.Conn, key string, value interface{}) (bool, error)
- func RHSetMap(rclient redis.Conn, key string, field string, value interface{}) (bool, error)
- func RParse(cmd string, rawreply interface{}, err error) (interface{}, error)
- func RParseScan(val interface{}, err error) (interface{}, error)
- type DaoRedis
- func (o *DaoRedis) Agent() (interface{}, error)
- func (o *DaoRedis) Close() error
- func (o *DaoRedis) Configure(name string, daotype string, host string, port int, user string, pass string, ...) error
- func (o *DaoRedis) Conn() (interface{}, error)
- func (o *DaoRedis) Delete(db string, group string, id interface{}, opt qdao.DOpt) (interface{}, error)
- func (o *DaoRedis) Deletes(db string, group string, ids []interface{}, opt qdao.DOpt) (interface{}, error)
- func (o *DaoRedis) ExistDB(db string) (bool, error)
- func (o *DaoRedis) ExistGroup(db string, group string) (bool, error)
- func (o *DaoRedis) Exists(db string, group string, ids []interface{}) (int64, error)
- func (o *DaoRedis) Get(db string, group string, id interface{}, unmarshal int, opt qdao.QOpt) (ret interface{}, err error)
- func (o *DaoRedis) GetConn(db string) redis.Conn
- func (o *DaoRedis) GetDB(db string, opt qdao.QOpt) (interface{}, error)
- func (o *DaoRedis) GetGroup(db string, group string, opt qdao.QOpt) (interface{}, error)
- func (o *DaoRedis) Gets(db string, group string, ids []interface{}, unmarshal int, opt qdao.QOpt) (rets []interface{}, err error)
- func (o *DaoRedis) IsConnected() bool
- func (o *DaoRedis) Keys(db string, group string, wildcard string, opt qdao.QOpt) (keys []string, err error)
- func (o *DaoRedis) List(db string, group string, from int, size int, unmarshal int, opt qdao.QOpt) (rets []interface{}, cursor int, err error)
- func (o *DaoRedis) Query(db string, query string, args []interface{}, opt qdao.QOpt) (interface{}, error)
- func (o *DaoRedis) Scan(db string, group string, from int, size int, unmarshal int, ...) (ret []interface{}, cursor int, total int, err error)
- func (o *DaoRedis) ScanAsMap(db string, group string, from int, size int, unmarshal int, ...) (ret map[string]interface{}, cursor int, total int, err error)
- func (o *DaoRedis) Script(db string, group string, id interface{}, script string, args []interface{}, ...) (interface{}, error)
- func (o *DaoRedis) SelectDB(db string) error
- func (o *DaoRedis) Update(db string, group string, id interface{}, val interface{}, override bool, ...) (interface{}, error)
- func (o *DaoRedis) UpdateBatch(db string, groups []string, ids []interface{}, vals []interface{}, ...) (interface{}, error)
- func (o *DaoRedis) UpdateDB(db string, options interface{}, create bool, override bool, opt qdao.UOpt) (interface{}, error)
- func (o *DaoRedis) UpdateGroup(db string, group string, options interface{}, create bool, override bool, ...) (interface{}, error)
- func (o *DaoRedis) Updates(db string, group string, ids []interface{}, vals []interface{}, override bool, ...) (interface{}, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RParseScan ¶
Types ¶
type DaoRedis ¶
func (*DaoRedis) IsConnected ¶
func (*DaoRedis) UpdateBatch ¶
func (*DaoRedis) UpdateGroup ¶
Click to show internal directories.
Click to hide internal directories.