Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Clojure Redis client library

branch: master
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 [clj-redis "0.0.12"] in your project.clj.

License

Copyright © 2010-2011 Mark McGranaghan

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

Something went wrong with that request. Please try again.