redsync.go

module
v0.0.0-...-c1546bb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 28, 2021 License: BSD-3-Clause

README

This package is deprecated. Please switch to github.com/go-redsync/redsync/v4.


Redsync.go

Build Status

Redsync.go provides a Redis-based distributed mutual exclusion lock implementation for Go as described in this blog post. A reference library (by antirez) for Ruby is available at github.com/antirez/redlock-rb.

Installation

Install Redsync.go using the go get command:

$ go get github.com/hjr265/redsync.go/redsync

The only dependencies are the Go distribution and github.com/garyburd/redigo/redis.

Documentation

Contributing

Contributions are welcome.

License

Redsync.go is available under the BSD (3-Clause) License.

Disclaimer

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.

Directories

Path Synopsis
Package redsync provides a Redis-based distributed mutual exclusion lock implementation as described in the blog post http://antirez.com/news/77.
Package redsync provides a Redis-based distributed mutual exclusion lock implementation as described in the blog post http://antirez.com/news/77.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL