Discover Packages
github.com/101medialab/go-redis-distributed-lock
package
module
Version:
v0.0.0-...-0cca5ed
Opens a new window with list of versions in this module.
Published: Jul 12, 2018
License: GPL-3.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
README
README
¶
There are a few Redis distributed lock written in Golang already. Somehow it is wrong to write one to waste our time tbh. But yeah, we are human which love to create problems.
Expand ▾
Collapse ▴
Documentation
¶
Release if you are owing the lock by checking the token of the lock stored in Redis is the same or not
type LockFactory struct {
RedisClient *redis .Client `inject:""`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.