Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CachePipel ¶
type RedisClient ¶
type RedisClient interface { Close() error Ping() string CountKeys() (int, error) Get(k string) ([]byte, error) Set(k string, v interface{}, exp time.Duration) (string, error) Del(k string) (int64, error) LPush(k string, v interface{}) (int64, error) RPop(k string) ([]byte, error) HGet(key string, field string) string HSet(key string, values map[string]string) error HGetAll(key string) map[string]string Exists(key string) bool Expired(key string, d time.Duration) (bool, error) NewPiple() CachePipel Keys(pattern string) ([]string, error) }
Click to show internal directories.
Click to hide internal directories.