Documentation ¶
Index ¶
- func Del(key string) (int, error)
- func Do(cmd string, args ...interface{}) (interface{}, error)
- func Exist(key string) (int, error)
- func GetRedis() redis.Conn
- func ScanStruct(src []interface{}, dest interface{}) error
- func Send(cmd string, args ...interface{}) error
- func SetPool(netType, server, password string, dbIndex, maxIdle, maxActive, idleTimeout int)
- type Hash
- func (this *Hash) Clear() error
- func (this *Hash) Exists(k string) bool
- func (this *Hash) Get(k string) (string, error)
- func (this *Hash) GetObject(k string, clazz interface{}) error
- func (this *Hash) GetString(k string) (string, error)
- func (this *Hash) GetStringList(k []string) ([]string, error)
- func (this *Hash) HgetAll() ([]interface{}, error)
- func (this *Hash) MultiGet(k []string) ([]string, error)
- func (this *Hash) Put(k, v string) error
- func (this *Hash) PutObject(k string, v interface{}) error
- func (this *Hash) PutString(k string, v string) error
- func (this *Hash) Remove(k string) error
- func (this *Hash) SetExpire(second int) error
- func (this *Hash) Size() (int, error)
- type RedisPool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.