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

Method ClearFollowCache

internal/repository/cache/relation.go:18–18  ·  view source on GitHub ↗
(ctx context.Context, followerID, followeeID int64)

Source from the content-addressed store, hash-verified

16 GetCountCache(ctx context.Context, key string) (int64, error)
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}

Callers 2

FollowUserMethod · 0.65
CancelFollowUserMethod · 0.65

Implementers 1

relationCacheinternal/repository/cache/relation.go

Calls

no outgoing calls

Tested by

no test coverage detected