MCPcopy Create free account
hub / github.com/dgraph-io/dgraph-benchmarks / FastCache

Struct FastCache

cachebench/cache_bench_test.go:140–142  ·  view source on GitHub ↗

======================================================================== FastCache ========================================================================

Source from the content-addressed store, hash-verified

138//========================================================================
139
140type FastCache struct {
141 c *fastcache.Cache
142}
143
144func (b *FastCache) Get(key []byte) ([]byte, error) {
145 v := b.c.Get(nil, key)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected