MCPcopy
hub / github.com/dosco/graphjin / Get

Method Get

serv/cache.go:15–15  ·  view source on GitHub ↗

Get retrieves a cached response Returns (data, isStale, found)

(ctx context.Context, key string)

Source from the content-addressed store, hash-verified

13 // Get retrieves a cached response
14 // Returns (data, isStale, found)
15 Get(ctx context.Context, key string) ([]byte, bool, bool)
16
17 // Set stores a response with dependency refs for invalidation.
18 Set(ctx context.Context, key string, data []byte, refs []core.RowRef, queryStartTime time.Time) error

Callers 15

fromResultFunction · 0.65
QueryMethod · 0.65
getMyTypeParserFunction · 0.65
queryExecMethod · 0.65
ExecMethod · 0.65
QueryMethod · 0.65
queryExecMethod · 0.65
processCommonArgsFunction · 0.65
GetMethod · 0.65
PutMethod · 0.65
ListMethod · 0.65
toAwaitFunction · 0.65

Implementers 2

MemoryCacheserv/cache_memory.go
RedisCacheserv/cache_redis.go

Calls

no outgoing calls