IORedis types

interface IORedisClientOptions {
    connectionName?: string;
    db?: number;
    family?: "IPv4" | "IPv6";
    host?: string;
    keepAlive?: number;
    keyPrefix?: string;
    name?: string;
    noDelay?: boolean;
    password?: string;
    path?: string;
    port?: number;
    readOnly?: boolean;
    reconnectOnError?: ((err: Error) => boolean);
    sentinels?: {
        host: string;
        port: number;
    }[];
    username?: string;
}

Properties

connectionName?: string
db?: number
family?: "IPv4" | "IPv6"
host?: string
keepAlive?: number
keyPrefix?: string
name?: string
noDelay?: boolean
password?: string
path?: string
port?: number
readOnly?: boolean
reconnectOnError?: ((err: Error) => boolean)
sentinels?: {
    host: string;
    port: number;
}[]
username?: string