Skip to content

timbuchwaldt/elixir-redis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Discontinued

As there are way better implementations this repo ist discontinued. Use artemeffs awesome implementation!

Build Status

Elixir Redis

A easy Elixir client for Redis, based on the awesome eredis.

As this is more of a alpha-playground (and my first real elixir project), I suggest you use artemeffs awesome implementation!

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)

About

A eredis-based Elixir Redis client

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages