Permalink
Browse files

updated usage example

  • Loading branch information...
1 parent d775034 commit b3d9dc316239bd487b81dbb9155ad6a51c806306 @timgluz timgluz committed Oct 21, 2012
Showing with 3 additions and 1 deletion.
  1. +2 −1 README.md
  2. +1 −0 target/stale/dependencies
View
@@ -9,7 +9,8 @@ Wrapper for spymemcached to access kestrel as a memcached client
(:require [kestrel.client :as kestrel])
;;create client
-(kestrel/create-client)
+(kestrel/default-client) ;; use default settings
+(def kestrel2 (kestrel/default-client :host "127.0.0.1" :port 22133))
;;get version of current Kestrel
(kestrel/get-version)
@@ -0,0 +1 @@
+([:dependencies [[org.clojure/clojure "1.2.1"] [org.clojure/clojure-contrib "1.2.0"] [spy/spymemcached "2.7"]]])

0 comments on commit b3d9dc3

Please sign in to comment.