distributed-lock-skill
Installation
SKILL.md
Redis 分布式锁
锁实现
type RedisLock struct {
store red.UniversalClient
seconds uint32
key string
id string // 锁的唯一标识
}
type RedisLock struct {
store red.UniversalClient
seconds uint32
key string
id string // 锁的唯一标识
}