func NewRedisRepository(opts *redis.Options) *Repository {
	c := redis.NewClient(opts)

	// Setup generic repository
	repo := &redisRepo{
		client:    &internal.RedisBridge{Client: *c},
		context:   c.Context(),
		KeyPrefix: "webhook",
	}

	return &Repository{
		storageRepo: repo,
	}
}
// NewRedisRepository initializes a new Redis repository
NewRedisRepository initializes a new Redis repository
// NewRedisRepository initializes a new Redis repository
func NewRedisRepository(opts *redis.Options) *Repository {
	c := redis.NewClient(opts)
	repo := &redisRepo{
		client:    &internal.RedisBridge{Client: *c},
		context:   c.Context(),
		KeyPrefix: "webhook",
	}
	return &Repository{
		storageRepo: repo,
	}
}
func NewRedisRepository ( opts * redis . Options ) * Repository { c := redis . NewClient ( opts ) repo := & redisRepo { client : & internal . RedisBridge { Client : * c } , context : c . Context ( ) , KeyPrefix : " " , } return & Repository { storageRepo : repo , } }
NewRedisRepository initializes a new Redis repository
NewRedisRepository initializes a new Redis repository
// Setup generic repository