package
0.1.1
Repository: https://github.com/lupguo/go-shim.git
Documentation: pkg.go.dev

# Functions

MustParseKeyDuration get redis key time expire, if parse got err, expire time return 0.
New create redis obj.
ParseKeyDuration get redis key time from string.
RdKey get redis key by format and id slice.
Uint64ToStringRdKeys []uint64 to []string.

# Constants

TTLForever 没有过期时间.

# Structs

Client RedisCache.

# Interfaces

ICurrencyLocker 分布式并发锁接口,支持通过业务操作唯一Key进行短时间锁定.
IRedisHand redis interface.

# Type aliases

KeyFunc get redis key from interface object, g and its field value eg.