Skip to content

DanThiffault/clj-redis

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Clojure Redis client library

Resources

License

Stars

Watchers

Forks

Packages

No packages published