Clojure Redis client library
Clojure
Pull request Compare This branch is 3 commits ahead, 4 commits behind pjb3:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src/clj_redis
test/clj_redis/test
.gitignore
LICENSE
project.clj
readme.md

readme.md

clj-redis

Clojure Redis client library.

Usage

(require '[clj-redis.client :as redis])

(def db (redis/init))

(redis/ping db)
=> "PONG"

(redis/set db "foo" "BAR")
=> "OK"

(redis/get db "foo")
=> "BAR"

Notes

The connections represented by the return value of clj-redis.client/init are threadsafe; they are backed by a dynamic pool of connections to the Redis server.

Installation

Depend on [com.dsci/clj-redis "0.0.15-SNAPSHOT"] in your project.clj.

License

Copyright © 2010-2011 Mark McGranaghan

Distributed under the MIT/X11 license; see the file COPYING.