A Julia wrapper for hiredis, a minimalistic C client library for the Redis database.
Importantly, in contrast to Redis.jl, Hiredis.jl supports TLS connections.
The following example illustrates how Hiredis.jl can be used.
using Hiredis
client = RedisClient(
host = "192.168.0.1",
port = 6380,
password = "some_secure_password",
ssl = true,
cacert_filename = "/usr/lib/ssl/certs/ca-certificates.crt"
)
set(client, "foo", "bar")
get(client, "foo") # returns "bar"
disconnect!(client)