MCPcopy
hub / github.com/minio/minio-go / Get

Method Get

pkg/kvcache/cache.go:34–36  ·  pkg/kvcache/cache.go::V].Get

Get - Returns a value of a given key if it exists.

(key K)

Source from the content-addressed store, hash-verified

32
33// Get - Returns a value of a given key if it exists.
34func (r *Cache[K, V]) Get(key K) (value V, ok bool) {
35 return r.load(key)
36}
37
38// Set - Will persist a value into cache.
39func (r *Cache[K, V]) Set(key K, value V) {

Callers 15

startMethod · 0.45
StatObjectMethod · 0.45
CreateSessionMethod · 0.45
appendObjectDoMethod · 0.45
dumpHTTPMethod · 0.45
executeMethodMethod · 0.45
Test_SSEHeadersFunction · 0.45
removeObjectMethod · 0.45
abortMultipartUploadMethod · 0.45
parseResponseMethod · 0.45

Calls 1

loadMethod · 0.95