1
0
mirror of https://github.com/mxpv/podsync.git synced 2024-05-11 05:55:04 +00:00

Add Redis notes

This commit is contained in:
Maksym Pavlenko
2019-03-31 21:13:53 -07:00
parent 9b8549871f
commit 8c2a2f84b5

6
pkg/cache/redis.go vendored
View File

@@ -11,6 +11,12 @@ import (
var ErrNotFound = errors.New("not found")
// RedisCache implements caching layer for feeds using Redis
//
// Inside docker can be connected as:
// docker exec -it redis redis-cli
// View available keys:
// 127.0.0.1:6379> keys *
//
type RedisCache struct {
client *redis.Client
}