Documentation
¶
Index ¶
- type Redis
- func (r *Redis) Decrease(key string) error
- func (r *Redis) Del(key string) error
- func (r *Redis) Expire(key string, expire int) error
- func (r *Redis) Flush() bool
- func (r *Redis) Get(key string) (string, error)
- func (r *Redis) GetClient() *redis.Client
- func (r *Redis) HashDel(hk, key string) error
- func (r *Redis) HashGet(hk, key string) (string, error)
- func (r *Redis) HashGetALl(key string) (map[string]string, error)
- func (r *Redis) HashSet(key string, values ...interface{}) error
- func (r *Redis) Increase(key string) error
- func (r *Redis) Set(key string, val interface{}, expire int) error
- func (*Redis) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Redis ¶
type Redis struct {
// contains filtered or unexported fields
}
Redis cache implement
func (*Redis) HashGetALl ¶
HashGet from key
Click to show internal directories.
Click to hide internal directories.