@qualithm/rqlite-client - v0.2.3
    Preparing search index...

    Type Alias ClusterNode

    A node in the rqlite cluster as returned by the /nodes endpoint.

    type ClusterNode = {
        addr: string;
        apiAddr: string;
        id: string;
        leader: boolean;
        reachable: boolean;
        time?: number;
    }
    Index

    Properties

    addr: string

    Raft communication address (e.g. "localhost:4002").

    apiAddr: string

    HTTP API address (e.g. "http://localhost:4001").

    id: string

    Raft node ID.

    leader: boolean

    Whether this node is the current leader.

    reachable: boolean

    Whether this node is reachable.

    time?: number

    Round-trip time to this node in seconds, if available.