Documentation ¶
Index ¶
- type LuaScript
- type Redis
- func (d *Redis) Del(key string) (err error)
- func (this *Redis) EvalSha(scriptName string, values ...interface{}) (ret int64, err error)
- func (d *Redis) Expire(key string, sec int32) (err error)
- func (d *Redis) GetString(key string) (ret string, err error)
- func (d *Redis) HDel(hKey string, field ...interface{}) (delNum int, err error)
- func (d *Redis) HGetAllBytes(key string) (bytes [][]byte, err error)
- func (d *Redis) HGetBytes(key, field string) (value []byte, err error)
- func (d *Redis) HGetInt64(key, field string) (num int64, err error)
- func (d *Redis) HGetString(key, field string) (ret string, err error)
- func (d *Redis) HIncrby(key, field string, num int32) (err error)
- func (d *Redis) HMGetString(key string, field ...interface{}) (ret []string, err error)
- func (d *Redis) HSetBytes(key, field string, value []byte) (err error)
- func (d *Redis) HSetString(key, field, value string) (ret int, err error)
- func (d *Redis) Keys(pattern string) (keys []string, err error)
- func (d *Redis) LPushInt64(key string, value int64) (err error)
- func (d *Redis) LRangeAllInt64(key string) (ret []int64, err error)
- func (d *Redis) Set(key, value string) (err error)
- func (d *Redis) SetNX(key, value string) (ok bool, err error)
- func (d *Redis) Wrap(doSomething func(conn redis.Conn))
- func (d *Redis) ZAdd(key string, pairs ...interface{}) (newAddNum int, err error)
- func (d *Redis) ZCard(key string) (num int64, err error)
- func (d *Redis) ZRank(key, member string) (rank int, err error)
- func (d *Redis) ZRem(key string, members ...interface{}) (remNum int, err error)
- func (d *Redis) ZScore(key, member string) (score int64, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LuaScript ¶
type LuaScript struct {
// contains filtered or unexported fields
}
func (*LuaScript) GetKeyCount ¶
func (*LuaScript) GetScriptName ¶
func (*LuaScript) GetScriptSha ¶
func (*LuaScript) SetScriptSha ¶
Click to show internal directories.
Click to hide internal directories.