MCPcopy
hub / github.com/silenceper/wechat / Get

Method Get

cache/cache.go:10–10  ·  view source on GitHub ↗
(key string)

Source from the content-addressed store, hash-verified

8// Cache interface
9type Cache interface {
10 Get(key string) interface{}
11 Set(key string, val interface{}, timeout time.Duration) error
12 IsExist(key string) bool
13 Delete(key string) error

Callers 15

GetMethod · 0.65
IsExistMethod · 0.65
GetContextFunction · 0.65
TestRedisFunction · 0.65
GetTicketContextMethod · 0.65
GetTicketMethod · 0.65
GetAccessTokenContextMethod · 0.65
GetAccessTokenContextMethod · 0.65
GetAccessTokenContextMethod · 0.65
getTagKeyNameFunction · 0.65
GetMsgMethod · 0.65

Implementers 3

Memcachecache/memcache.go
Rediscache/redis.go
Memorycache/memory.go

Calls

no outgoing calls

Tested by 1

TestRedisFunction · 0.52