Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RedisHashMap ¶
type RedisHashMap interface { HMSetWithExpiration(key string, value map[string]interface{}, ttl time.Duration) error HMSet(key string, value map[string]interface{}) error HSetWithExpiration(key, field string, value interface{}, ttl time.Duration) error HSet(key, field string, value interface{}) error HMGet(key string, fields ...string) ([]interface{}, error) HGetAll(key string) (map[string]string, error) Remove(key string) error Keys(pattern string) ([]string, error) }
func NewHashMapShards ¶
func NewHashMapShards(redis RedisHashMap, log Log, shards uint32) (RedisHashMap, error)
Click to show internal directories.
Click to hide internal directories.