Versions in this module Expand all Collapse all v0 v0.8.5 Apr 6, 2020 v0.8.4 Jan 30, 2020 Changes in this version + const ANALYTICS_KEYNAME + const RedisKeyPrefix + const UptimeAnalytics_KEYNAME + var AvailableStores map[string]AnalyticsStorage + var ENV_REDIS_PREFIX = "TYK_PMP_REDIS" + func NewRedisClusterPool(forceReconnect bool, config RedisStorageConfig) redis.UniversalClient + type AnalyticsStorage interface + Connect func() bool + GetAndDeleteSet func(string) []interface{} + GetName func() string + Init func(config interface{}) error + type EnvMapString map[string]string + func (e *EnvMapString) Decode(value string) error + type RedisClusterStorageManager struct + Config RedisStorageConfig + HashKeys bool + KeyPrefix string + func (r *RedisClusterStorageManager) Connect() bool + func (r *RedisClusterStorageManager) GetAndDeleteSet(keyName string) []interface{} + func (r *RedisClusterStorageManager) GetName() string + func (r *RedisClusterStorageManager) Init(config interface{}) error + func (r *RedisClusterStorageManager) SetExp(keyName string, timeout int64) error + func (r *RedisClusterStorageManager) SetKey(keyName, session string, timeout int64) error + type RedisOpts redis.UniversalOptions + type RedisStorageConfig struct + Addrs []string + Database int + EnableCluster bool + Host string + Hosts EnvMapString + MasterName string + MaxActive int + MaxIdle int + Password string + Port int + RedisKeyPrefix string + RedisSSLInsecureSkipVerify bool + RedisUseSSL bool + Timeout int + Type string + Username string