An error occurred while fetching the assigned milestone of the selected merge_request.
Merged #31 Authentication functionality for redis & functionality to store and retreive otp from respective cache.
@@ -40,16 +40,18 @@ type RedisCache struct {
@@ -82,9 +84,14 @@ func RedisWithExpiration(exp time.Duration) redisOption {
@@ -92,6 +99,7 @@ func (rc *RedisCache) Setup(addr, password, prefix string, db int, exp time.Dura
@@ -99,6 +107,7 @@ func (rc *RedisCache) Setup(addr, password, prefix string, db int, exp time.Dura
@@ -132,6 +141,7 @@ func SetupRedisCache(opts ...redisOption) (*RedisCache, error) {
@@ -140,6 +150,7 @@ func SetupRedisCache(opts ...redisOption) (*RedisCache, error) {