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

Method SetWithOptions

core/cache.go:43–43  ·  view source on GitHub ↗
(
		ctx context.Context,
		key string,
		data []byte,
		refs []RowRef,
		queryStartTime time.Time,
		opts CacheEntryOptions,
	)

Source from the content-addressed store, hash-verified

41// providers that can honor per-entry cache lifetime options.
42type ResponseCacheProviderWithOptions interface {
43 SetWithOptions(
44 ctx context.Context,
45 key string,
46 data []byte,

Callers 1

fragmentCacheSetMethod · 0.65

Implementers 3

fakeOptionSWRCachecore/swr_test.go
MemoryCacheserv/cache_memory.go
RedisCacheserv/cache_redis.go

Calls

no outgoing calls

Tested by

no test coverage detected