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

Method Set

cache/cache.go:11–11  ·  view source on GitHub ↗
(key string, val interface{}, timeout time.Duration)

Source from the content-addressed store, hash-verified

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
14}

Callers 12

SetMethod · 0.65
SetContextFunction · 0.65
TestRedisFunction · 0.65
GetTicketContextMethod · 0.65
GetTicketMethod · 0.65
GetAccessTokenContextMethod · 0.65
GetAccessTokenContextMethod · 0.65
GetAccessTokenContextMethod · 0.65
RoundTripMethod · 0.65
HTTPPostContextFunction · 0.65
PostJSONContextFunction · 0.65
ListUserOpenIDsMethod · 0.65

Implementers 3

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

Calls

no outgoing calls

Tested by 2

TestRedisFunction · 0.52
RoundTripMethod · 0.52