WithRedisKeyPrefix sets the key prefix
(prefix string)
| 45 | |
| 46 | // WithRedisKeyPrefix sets the key prefix |
| 47 | func WithRedisKeyPrefix(prefix string) RedisOption { |
| 48 | return func(config *store.RedisConfig) { |
| 49 | config.KeyPrefix = prefix |
| 50 | } |
| 51 | } |
| 52 | |
| 53 | // WithRedisTLS sets the TLS configuration for secure connections |
| 54 | func WithRedisTLS(tlsConfig *tls.Config) RedisOption { |
no outgoing calls
searching dependent graphs…