MCPcopy Create free account
hub / github.com/GoSimplicity/LinkMe / rankingCache

Struct rankingCache

internal/repository/cache/ranking.go:26–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24}
25
26type rankingCache struct {
27 client redis.Cmdable
28 key string
29 expiration time.Duration
30 logger *zap.Logger
31}
32
33func NewRankingRedisCache(client redis.Cmdable, logger *zap.Logger) RankingRedisCache {
34 return &rankingCache{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected