hara.runtime.redis.client

+lua-oneshot+

+lua-redis-oneshot+

client

added in 3.0

(client {:keys [id env], :as m})

creates and starts a redis client

client:create

added in 3.0

(client:create {:keys [id env mode host port], :as m})

creates a redis client

(r/client:create {:id “localhost” :port 17001}) => r/client?

client?

added in 3.0

(client? obj)

checks that instance is a client

invoke-ptr-redis

added in 4.0

(invoke-ptr-redis redis ptr args)

invokes the pointer in the redis context

test:client

added in 3.0

(test:client)

creates a test client on docker