Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/beanieboi/redisync-goredis


https://github.com/beanieboi/redisync-goredis

Last synced: 24 days ago
JSON representation

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
```