//
pkg.gl
Category
github.com/silenceper/wechat/v2
cache
package
2.1.8-rc.1
Repository:
https://github.com/silenceper/wechat.git
Documentation:
pkg.go.dev
Versions
2
Dependencies
6
Dependents
68
Files
207 SLOC
#
Functions
DeleteContext
DeleteContext delete value in cache.
GetContext
GetContext get value from cache.
IsExistContext
IsExistContext check value exists in cache.
NewMemcache
NewMemcache create new memcache.
NewMemory
NewMemory create new memcache.
NewRedis
NewRedis 实例化.
SetContext
SetContext set value to cache.
#
Structs
Memcache
Memcache struct contains *memcache.Client.
Memory
Memory struct contains *memcache.Client.
Redis
Redis .redis cache.
RedisOpts
RedisOpts redis 连接属性.
#
Interfaces
Cache
Cache interface.
ContextCache
ContextCache interface.