Documentation ¶ Index ¶ func NewDistributedRedisLock(client *redis.Client) locker.ILocker Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func NewDistributedRedisLock ¶ func NewDistributedRedisLock(client *redis.Client) locker.ILocker NewDistributedRedisLock 创建分布式 redis 锁 see: github.com/save95/go-utils/locker warning: redis drive pkg upgrade Will be removed in the next official release Deprecated Types ¶ This section is empty. Source Files ¶ View all Source files distributed_redis.go Click to show internal directories. Click to hide internal directories.