Represents a Redis client that can be used to execute commands.
Represents a Redis client that can be used to execute commands.
(create {:keys [uri key-prefix ping-on-start?] :as opts})
Creates a Redis connection component. Args:
:uri
- the URI string of the Redis server, required:key-prefix
- optional, a prefix for all keys, usually a service name - can be a string or keyword:ping-on-start?
- optional, when true will send a PING command to the server on start to check if it's aliveCreates a Redis connection component. Args: - `:uri` - the URI string of the Redis server, required - `:key-prefix` - optional, a prefix for all keys, usually a service name - can be a string or keyword - `:ping-on-start?` - optional, when true will send a PING command to the server on start to check if it's alive
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close