Files
micro-service-api/node_modules/@redis/client/dist/lib/commands/REPLICAOF.js
2025-11-11 12:36:06 +07:00

19 lines
601 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = {
NOT_KEYED_COMMAND: true,
IS_READ_ONLY: true,
/**
* Constructs the REPLICAOF command
*
* @param parser - The command parser
* @param host - The host of the master to replicate from
* @param port - The port of the master to replicate from
* @see https://redis.io/commands/replicaof/
*/
parseCommand(parser, host, port) {
parser.push('REPLICAOF', host, port.toString());
},
transformReply: undefined
};
//# sourceMappingURL=REPLICAOF.js.map