This module provides a client impelementation for the Redis Cluster.
The implementation is based on the antirez/redis-rb-cluster.
import { connect } from "https://deno.land/x/redis/experimental/cluster/mod.ts";
const cluster = await connect({
nodes: [
{
hostname: "127.0.0.1",
port: 7000,
},
{
hostname: "127.0.0.1",
port: 7001,
},
],
});
await cluster.get("{foo}bar");