Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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.
4
type
Cache
interface
{
5
Get(key string) (any, bool)
6
Set(key string, value any, cost int64) bool
7
Wait()
8
Close()
Callers
15
TestRistretto
Function · 0.65
TestRistretto_Get
Function · 0.65
TestRistretto_Set
Function · 0.65
Get
Method · 0.65
Get
Method · 0.65
xid8_test.go
File · 0.65
pguint64_test.go
File · 0.65
Decode
Method · 0.65
UpdateClientConnState
Method · 0.65
loadFromURL
Function · 0.65
ReadEntityDefinition
Method · 0.65
ReadRuleDefinition
Method · 0.65
Implementers
2
noopCache
pkg/cache/interfaces.go
Ristretto
pkg/cache/ristretto/ristretto.go
Calls
no outgoing calls
Tested by
3
TestRistretto
Function · 0.52
TestRistretto_Get
Function · 0.52
TestRistretto_Set
Function · 0.52