Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Clojure
branch: conn

This branch is 33 commits behind master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
src/accession
test/accession/test
.gitignore
README.markdown
epl-v10.html
project.clj
todo.org

README.markdown

Accession

A Clojure library for redis

Usage

Accession is used just like you would use redis from the command line. All available redis commands will be implemented. For a list of currently implemented commands see core.clj. The example below demonstrates standard usage:

(require '[accession.core :as redis])
(def c (redis/defconnection {})
(redis/with-connection c (redis/set "foo" "some value")
-> "OK"
(redis/with-connection c (redis/get "foo")
-> "some value"

This library is targeted at Redis 2.0+. If you are using an older version of Redis or are using a version of Clojure earlier than 1.3.0, you may have better luck with redis-clojure.

Contributors

Brenton Ashworth

Michael Fogus

License

Copyright (C) 2011 Aaron Bedra

Distributed under the Eclipse Public License, the same as Clojure. For further details, visit the license file

Something went wrong with that request. Please try again.