Documentation ¶
Index ¶
- type RedisClient
- func (rds RedisClient) Decr(key string) bool
- func (rds RedisClient) DecrBy(key string, value int64) bool
- func (rds RedisClient) Del(keys ...string) bool
- func (rds RedisClient) FlushDB() bool
- func (rds RedisClient) Get(key string) string
- func (rds RedisClient) Has(key string) bool
- func (rds RedisClient) Incr(key string) bool
- func (rds RedisClient) IncrBy(key string, value int64) bool
- func (rds RedisClient) Ping() (err error)
- func (rds RedisClient) Set(key string, value interface{}, expiration time.Duration) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RedisClient ¶
func (RedisClient) Decr ¶
func (rds RedisClient) Decr(key string) bool
func (RedisClient) Del ¶
func (rds RedisClient) Del(keys ...string) bool
func (RedisClient) FlushDB ¶
func (rds RedisClient) FlushDB() bool
func (RedisClient) Get ¶
func (rds RedisClient) Get(key string) string
func (RedisClient) Has ¶
func (rds RedisClient) Has(key string) bool
func (RedisClient) Incr ¶
func (rds RedisClient) Incr(key string) bool
func (RedisClient) Ping ¶
func (rds RedisClient) Ping() (err error)
Click to show internal directories.
Click to hide internal directories.