Hiredis.jl

A Julia wrapper for hiredis, a minimalistic C client library for the Redis database.
Author nolberg
Popularity
0 Stars
Updated Last
2 Years Ago
Started In
August 2023

Hiredis.jl

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.

Usage

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)