Versions in this module Expand all Collapse all v1 v1.2.1 Aug 20, 2020 v1.2.0 Aug 20, 2020 Changes in this version + type Deserializer func(serialized string) (interface{}, error) + type ObjectMap interface + Delete func(key string) error + DeleteAll func() error + Get func(key string) (interface{}, error) + GetAll func() (map[string]interface{}, error) + Set func(key string, object interface{}) error + type RedisClient interface + HDel func(hash string, field string) error + HGet func(hash string, field string) (string, error) + HGetAll func(hash string) (map[string]string, error) + HSet func(hash string, field string, value string) error + func NewRedisClient() (RedisClient, error) + type RedisClientImpl struct + RawClient *redis.Client + func (client *RedisClientImpl) HDel(hash string, field string) error + func (client *RedisClientImpl) HGet(hash string, field string) (string, error) + func (client *RedisClientImpl) HGetAll(hash string) (map[string]string, error) + func (client *RedisClientImpl) HSet(hash string, field string, value string) error + type RedisMap struct + func NewRedisMap(client RedisClient, hash string, serializer Serializer, ...) *RedisMap + func (rm *RedisMap) Delete(key string) error + func (rm *RedisMap) DeleteAll() error + func (rm *RedisMap) Get(key string) (interface{}, error) + func (rm *RedisMap) GetAll() (map[string]interface{}, error) + func (rm *RedisMap) Set(key string, object interface{}) error + type Serializer func(object interface{}) (string, error) Other modules containing this package github.com/go-magma/magma/modules/feg/gateway