MCPcopy Create free account
hub / github.com/devfeel/dotweb / Exists

Method Exists

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

Exist return true if value cached by given key

(key string)

Source from the content-addressed store, hash-verified

8type Cache interface {
9 // Exist return true if value cached by given key
10 Exists(key string) (bool, error)
11 // Get returns value by given key
12 Get(key string) (interface{}, error)
13 // GetString returns value string format by given key

Callers 5

HandleMethod · 0.65
ExistsMethod · 0.65
ExistsMethod · 0.65
TestRedisClient_ExistsFunction · 0.65
SessionExistMethod · 0.65

Implementers 2

RuntimeCachecache/runtime/cache_runtime.go
RedisCachecache/redis/cache_redis.go

Calls

no outgoing calls

Tested by 1

TestRedisClient_ExistsFunction · 0.52