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

Method Get

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

Get returns value by given key

(key string)

Source from the content-addressed store, hash-verified

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
14 GetString(key string) (string, error)
15 // GetInt returns value int format by given key

Callers 15

checkIsWebSocketRequestFunction · 0.65
prepareHttpContextFunction · 0.65
wrapWebSocketHandleMethod · 0.65
TestWriteFunction · 0.65
TestWriteStringFunction · 0.65
TestWriteJsonFunction · 0.65
TestWriteJsonpFunction · 0.65
HandleMethod · 0.65
HandleMethod · 0.65
BindMethod · 0.65
QueryStringMethod · 0.65
ContentTypeMethod · 0.65

Implementers 2

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

Calls

no outgoing calls

Tested by 9

TestWriteFunction · 0.52
TestWriteStringFunction · 0.52
TestWriteJsonFunction · 0.52
TestWriteJsonpFunction · 0.52
DoGetFunction · 0.52
TestRedisClient_GetFunction · 0.52
TestRedisClient_DelFunction · 0.52