MCPcopy Create free account
hub / github.com/Permify/permify / Get

Method Get

pkg/cache/interfaces.go:5–5  ·  view source on GitHub ↗
(key string)

Source from the content-addressed store, hash-verified

3// Cache - Defines an interface for a generic cache.
4type Cache interface {
5 Get(key string) (any, bool)
6 Set(key string, value any, cost int64) bool
7 Wait()
8 Close()

Callers 15

TestRistrettoFunction · 0.65
TestRistretto_GetFunction · 0.65
TestRistretto_SetFunction · 0.65
GetMethod · 0.65
GetMethod · 0.65
xid8_test.goFile · 0.65
pguint64_test.goFile · 0.65
DecodeMethod · 0.65
UpdateClientConnStateMethod · 0.65
loadFromURLFunction · 0.65
ReadEntityDefinitionMethod · 0.65
ReadRuleDefinitionMethod · 0.65

Implementers 2

noopCachepkg/cache/interfaces.go
Ristrettopkg/cache/ristretto/ristretto.go

Calls

no outgoing calls

Tested by 3

TestRistrettoFunction · 0.52
TestRistretto_GetFunction · 0.52
TestRistretto_SetFunction · 0.52