Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/beanieboi/redisync-goredis
https://github.com/beanieboi/redisync-goredis
Last synced: 24 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/beanieboi/redisync-goredis
- Owner: beanieboi
- License: other
- Created: 2022-01-12T13:55:34.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-01-12T14:30:06.000Z (almost 3 years ago)
- Last Synced: 2024-06-21T08:04:39.858Z (5 months ago)
- Language: Go
- Size: 16.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Redisync
A Go package which implements synchronization functions on top of Redis. The heavy lifting is done with Lua scripts to make the elimination of race conditions easier.
Note: When using a TTL, the user should take care to finsih execution before the TTL.
## Install
```bash
$ go install github.com/ryandotsmith/redisync
```## Usage
See: *./example_test.go*## Documentation
[GoDoc](http://godoc.org/github.com/ryandotsmith/redisync)## Hacking on Redisync
[![Build Status](https://drone.io/github.com/ryandotsmith/redisync/status.png)](https://drone.io/github.com/ryandotsmith/redisync/latest)
```bash
$ go version
go version go1.1.1 darwin/amd64
$ ./redis-server --version
Redis server v=2.6.14 sha=00000000:0 malloc=libc bits=64
``````bash
$ git clone git://github.com/ryandotsmith/redisync.git
$ go get ./...
$ ./redis-server &
$ go test
```