package
0.6.20
Repository: https://github.com/xiaojiaoyu100/lizard.git
Documentation: pkg.go.dev

# Functions

IsLockNotObtained reports a lock which is not obtained.
New 生成一个锁,同一个LockGuard实例不可用于并发环境中,并发环境中应该 新开LockGuard,否则同一个LockGuard处于不同协程中,会相互重置,见reset.
WithRetryTimes configures lock retry times.

# Structs

Lock redis lock.
LockGuard provides distributed lock.

# Type aliases

Error error.
Handler signature.
Setter 配置lock.