feat: initial commit

This commit is contained in:
2025-03-31 16:17:35 +01:00
commit 6719f8a61a
91 changed files with 7119 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
package cache
import "github.com/go-redis/redis/v8"
func NewRedisClient(addr, pw string, db int) *redis.Client {
return redis.NewClient(&redis.Options{
Addr: addr,
Password: pw,
DB: db,
})
}