Liking cljdoc? Tell your friends :D

taoensso.carmine.commands

Macros to define an up-to-date, fully documented function for every Redis command as specified in the official json command spec.

Macros to define an up-to-date, fully documented function for every Redis
command as specified in the official json command spec.
raw docstring

defcommandcljmacro

(defcommand cmd-name spec)
source

defcommandscljmacro

(defcommands)
source

enqueue-requestclj

(enqueue-request cluster-key-idx request)
(enqueue-request cluster-key-idx request more-args)

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

Implementation detail.
Takes a request like ["SET" "my-key" "my-val"] and adds it to
dynamic context's request queue.
sourceraw docstring

IKeySlotcljprotocol

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).

keyslotclj

(keyslot redis-key)
sourceraw docstring

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

× close