Documentation
¶
Index ¶
- func DEL(key interface{})
- func EXISTS(key interface{}) bool
- func EXPIRE(key interface{}, ex int)
- func FLUSHDB()
- func FORCEGETINT(key string) int64
- func FORCEHGETINT(name string, key interface{}) int64
- func GET(key string) (string, error)
- func GETBIT(key string, number int32) (bool, error)
- func GETINT(key string) (int64, error)
- func HGET(name string, key interface{}) (interface{}, error)
- func HGETALL(name string) (map[string]interface{}, error)
- func HGETINT(name string, key interface{}) (int64, error)
- func HMGET(key string, fields []interface{}) (map[interface{}]interface{}, error)
- func HMSET(name string, m map[interface{}]interface{}) error
- func HSET(name string, key, value interface{}) bool
- func HSETERR(name string, key, value interface{}) error
- func INCR(key string) error
- func INCRBY(key string, amount int64) (int64, error)
- func Init(dsn, password string, maxIdle, db int)
- func KEYS(pattern string) ([]string, error)
- func LLEN(name string) (int64, error)
- func LPOP(name string) (interface{}, error)
- func LPUSH(name string, v interface{}) (int64, error)
- func MDEL(keys []interface{}) error
- func MGET(keys []string) (map[string]interface{}, error)
- func PIPELINE(cmds []string, args map[string][]interface{}) error
- func PIPELINE_V2(cmds []*OneCmd) error
- func RPUSH(name string, v interface{}) (int64, error)
- func SADD(set string, item interface{}) bool
- func SET(key, value string) bool
- func SETBIT(key string, number int32, value bool) bool
- func SETERR(key, value string) error
- func SETEX(ex int, key, value interface{}) bool
- func SETNX(key, value interface{}) (bool, error)
- func SISMEMBER(set string, item interface{}) bool
- func SMEMBERS(key string) ([]interface{}, error)
- func SREM(set string, item interface{}) bool
- func ZADD(key string, score int64, value string) error
- func ZCARD(key string) (int64, error)
- func ZCOUNT(key string, min, max int64) (int64, error)
- type OneCmd
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FORCEGETINT ¶
func FORCEHGETINT ¶
func PIPELINE_V2 ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.