MCPcopy Create free account
hub / github.com/Chatterino/api / CacheKey

Method CacheKey

pkg/cache/key_provider.go:7–7  ·  view source on GitHub ↗

Returns the name of the cache key generated for the query

(ctx context.Context, query string)

Source from the content-addressed store, hash-verified

5type KeyProvider interface {
6 // Returns the name of the cache key generated for the query
7 CacheKey(ctx context.Context, query string) string
8}
9
10type PrefixKeyProvider struct {

Callers 11

loadMethod · 0.65
GetMethod · 0.65
GetOnlyMethod · 0.65
commitDependentsMethod · 0.65
rollbackDependentsMethod · 0.65
GetMethod · 0.65
InsertMethod · 0.65
loadMethod · 0.65
GetMethod · 0.65
GetOnlyMethod · 0.65
buildThumbnailURLMethod · 0.65

Implementers 1

PrefixKeyProviderpkg/cache/key_provider.go

Calls

no outgoing calls

Tested by

no test coverage detected