@valkey/client
Version:
The source code and documentation for this package are in the main [node-redis](https://github.com/redis/node-redis) repo.
22 lines (21 loc) • 543 B
TypeScript
export declare function transformArguments(): Array<string>;
interface ClusterInfoReply {
state: string;
slots: {
assigned: number;
ok: number;
pfail: number;
fail: number;
};
knownNodes: number;
size: number;
currentEpoch: number;
myEpoch: number;
stats: {
messagesSent: number;
messagesReceived: number;
};
}
export declare function transformReply(reply: string): ClusterInfoReply;
export declare function extractLineValue(line: string): string;
export {};