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

Method GenerateCacheKey

internal/repository/cache/check.go:24–24  ·  view source on GitHub ↗
(id interface{})

Source from the content-addressed store, hash-verified

22 GetCountCache(ctx context.Context, key string) (int64, error)
23 SetCountCache(ctx context.Context, key string, count int64, ttl time.Duration) error
24 GenerateCacheKey(id interface{}) string
25 GeneratePaginationCacheKey(pagination domain.Pagination) string
26 GenerateCountCacheKey() string
27}

Callers 2

ListFollowerRelationsMethod · 0.65
ListFolloweeRelationsMethod · 0.65

Implementers 1

checkCacheinternal/repository/cache/check.go

Calls

no outgoing calls

Tested by

no test coverage detected