openreplay/backend/pkg/db/redis/client.go
2025-05-13 16:36:31 +02:00

22 lines
340 B
Go

package redis
import (
"errors"
"github.com/redis/go-redis/v9"
config "openreplay/backend/internal/config/redis"
)
type Client struct {
Cfg *config.Redis
Redis *redis.Client
}
func New(cfg *config.Redis) (*Client, error) {
return nil, errors.New("not implemented")
}
func (c *Client) Close() error {
return c.Redis.Close()
}