Liking cljdoc? Tell your friends :D

taoensso.carmine.commands

Define an appropriate function for EVERY Redis command. This is done by parsing the official Redis command reference (JSON) which includes up-to-date docstrings, argument specs, etc. This awesome approach was adapted from labs-redis-clojure.

Define an appropriate function for EVERY Redis command. This is done by
parsing the official Redis command reference (JSON) which includes up-to-date
docstrings, argument specs, etc. This awesome approach was adapted from
labs-redis-clojure.
raw docstring

defcommandcljmacro

(defcommand cmd-name {args :arguments :as refspec})

defcommandscljmacro

(defcommands)

enqueue-requestcljmacro

(enqueue-request request cluster-key-idx)

Implementation detail. Takes a request like ["SET" "my-key" "my-val"] and adds it to context's request queue with relevant metadata from dynamic environment.

Implementation detail.
Takes a request like ["SET" "my-key" "my-val"] and adds it to context's
request queue with relevant metadata from dynamic environment.
raw docstring

keyslotclj

(keyslot x)

Returns the Redis Cluster key slot ℕ∈[0,num-keyslots) for given key arg using the CRC16 algorithm, Ref. http://redis.io/topics/cluster-spec Appendix A.

Returns the Redis Cluster key slot ℕ∈[0,num-keyslots) for given key arg using
the CRC16 algorithm, Ref. http://redis.io/topics/cluster-spec Appendix A.
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close