Documentation ¶
Index ¶
- func ToStr(value interface{}) (s string)
- type IRedis
- type Redis
- func (entity *Redis) Append(key string, value interface{}) (int, error)
- func (entity *Redis) Decr(key string) (int64, error)
- func (entity *Redis) DecrBy(key string, value int64) (int64, error)
- func (entity *Redis) Del(keys ...interface{}) (int64, error)
- func (entity *Redis) Do(commandName string, args ...interface{}) (reply interface{}, err error)
- func (entity *Redis) Exists(key string) (bool, error)
- func (entity *Redis) Expire(key string, time int64, opt ...int) (bool, error)
- func (entity *Redis) Get(key string) ([]byte, error)
- func (entity *Redis) HExists(key string, field string) (bool, error)
- func (entity *Redis) HGet(key, field string, opt ...int) ([]byte, error)
- func (entity *Redis) HGetAll(key string) ([][]byte, error)
- func (entity *Redis) HIncrBy(key, field string, value int64) (int64, error)
- func (entity *Redis) HKeys(key string) ([][]byte, error)
- func (entity *Redis) HLen(key string) (int64, error)
- func (entity *Redis) HMGet(key string, fields ...string) ([][]byte, error)
- func (entity *Redis) HMSet(key string, fvmap map[string]interface{}) error
- func (entity *Redis) HSet(key, field string, val interface{}, opt ...int) (int, error)
- func (entity *Redis) HVals(key string) ([][]byte, error)
- func (entity *Redis) Incr(key string) (int64, error)
- func (entity *Redis) IncrBy(key string, value int64) (int64, error)
- func (entity *Redis) IncrByFloat(key string, value float64) (float64, error)
- func (entity *Redis) MGet(keys ...string) [][]byte
- func (entity *Redis) MSet(values ...interface{}) error
- func (entity *Redis) PreUse(args ...interface{})
- func (entity *Redis) Pttl(key string) (int64, error)
- func (entity *Redis) Set(key string, value interface{}, expire ...int64) error
- func (entity *Redis) SetDebug(commandName string, args ...interface{})
- func (entity *Redis) SetEx(key string, value interface{}, expire int64) error
- func (entity *Redis) Ttl(key string) (int64, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.