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

Method GetCache

internal/repository/cache/check.go:16–16  ·  view source on GitHub ↗
(ctx context.Context, key string)

Source from the content-addressed store, hash-verified

14
15type CheckCache interface {
16 GetCache(ctx context.Context, key string) (*domain.Check, error)
17 SetCache(ctx context.Context, key string, check domain.Check, ttl time.Duration) error
18 ClearCache(ctx context.Context, key string) error
19 DeleteKeysWithPattern(ctx context.Context, pattern string) error

Callers 3

ListFollowerRelationsMethod · 0.65
ListFolloweeRelationsMethod · 0.65
GetHistoryMethod · 0.65

Implementers 1

checkCacheinternal/repository/cache/check.go

Calls

no outgoing calls

Tested by

no test coverage detected