Are you sure you want to delete this task? Once this task is deleted, it cannot be recovered.
|
|
5 years ago | |
|---|---|---|
| .. | ||
| .gitlab-ci.yml | 5 years ago | |
| LICENSE | 5 years ago | |
| README.md | 5 years ago | |
| VERSION | 5 years ago | |
| doc.go | 5 years ago | |
| error.go | 5 years ago | |
| mutex.go | 5 years ago | |
| redis.go | 5 years ago | |
| redsync.go | 5 years ago | |
Redsync provides a Redis-based distributed mutual exclusion lock implementation for Go as described in this post. A reference library (by antirez) for Ruby is available at github.com/antirez/redlock-rb.
Install Redsync using the go get command:
$ go get gopkg.in/redsync.v1
The only dependencies are the Go distribution and Redigo.
Contributions are welcome.
Redsync is available under the BSD (3-Clause) License.
This code implements an algorithm which is currently a proposal, it was not formally analyzed. Make sure to understand how it works before using it in production environments.
No Description
Go SVG JavaScript Vue Roff other