Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/timbuchwaldt/elixir-redis
A eredis-based Elixir Redis client
https://github.com/timbuchwaldt/elixir-redis
Last synced: about 2 months ago
JSON representation
A eredis-based Elixir Redis client
- Host: GitHub
- URL: https://github.com/timbuchwaldt/elixir-redis
- Owner: timbuchwaldt
- License: mit
- Created: 2013-10-02T08:34:11.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2015-09-27T20:02:50.000Z (over 9 years ago)
- Last Synced: 2024-04-15T02:59:44.447Z (9 months ago)
- Language: Elixir
- Size: 337 KB
- Stars: 15
- Watchers: 1
- Forks: 7
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Discontinued
As there are way better implementations this repo ist discontinued. Use [artemeffs awesome implementation](https://github.com/artemeff/exredis)![![Build Status](https://travis-ci.org/timbuchwaldt/elixir-redis.png?branch=master)](https://travis-ci.org/timbuchwaldt/elixir-redis)
# Elixir RedisA easy Elixir client for Redis, based on the awesome [eredis](https://github.com/wooga/eredis).
As this is more of a alpha-playground (and my first real elixir project), I suggest you use [artemeffs awesome implementation](https://github.com/artemeff/exredis)!
# Usage
Add this line to your mix.exs-file:
{ :redis, "1.2.0", github: "timbuchwaldt/elixir-redis", tag: '1.2.0'}
In your code you have to set up a redis connection: ```Redis.start```
The client saves its connection to the process registry, for simple calls you don't have to do anything else. You can now use the form Redis.$command($variables):Redis.set(:a, 3)
Redis.get(:a)