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

Method GenerateCacheKey

internal/repository/cache/relation.go:19–19  ·  view source on GitHub ↗
(userID int64, relationType string, pagination domain.Pagination)

Source from the content-addressed store, hash-verified

17 SetCountCache(ctx context.Context, key string, count int64, ttl time.Duration) error
18 ClearFollowCache(ctx context.Context, followerID, followeeID int64) error
19 GenerateCacheKey(userID int64, relationType string, pagination domain.Pagination) string
20 GenerateCountCacheKey(userID int64, relationType string) string
21}
22

Callers

nothing calls this directly

Implementers 1

relationCacheinternal/repository/cache/relation.go

Calls

no outgoing calls

Tested by

no test coverage detected