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

Method Set

pkg/cache/interfaces.go:6–6  ·  view source on GitHub ↗
(key string, value any, cost int64)

Source from the content-addressed store, hash-verified

4type Cache interface {
5 Get(key string) (any, bool)
6 Set(key string, value any, cost int64) bool
7 Wait()
8 Close()
9}

Callers 15

TestRistrettoFunction · 0.65
TestRistretto_GetFunction · 0.65
TestRistretto_SetFunction · 0.65
SetMethod · 0.65
SetMethod · 0.65
xid8_test.goFile · 0.65
pguint64_test.goFile · 0.65
mainFunction · 0.65
UpdateClientConnStateMethod · 0.65
balancer_test.goFile · 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 4

TestRistrettoFunction · 0.52
TestRistretto_GetFunction · 0.52
TestRistretto_SetFunction · 0.52
httpJSONFunction · 0.52