-first commit
This commit is contained in:
21
node_modules/@redis/client/dist/lib/commands/PING.js
generated
vendored
Normal file
21
node_modules/@redis/client/dist/lib/commands/PING.js
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.default = {
|
||||
NOT_KEYED_COMMAND: true,
|
||||
IS_READ_ONLY: true,
|
||||
/**
|
||||
* Constructs the PING command
|
||||
*
|
||||
* @param parser - The command parser
|
||||
* @param message - Optional message to be returned instead of PONG
|
||||
* @see https://redis.io/commands/ping/
|
||||
*/
|
||||
parseCommand(parser, message) {
|
||||
parser.push('PING');
|
||||
if (message) {
|
||||
parser.push(message);
|
||||
}
|
||||
},
|
||||
transformReply: undefined
|
||||
};
|
||||
//# sourceMappingURL=PING.js.map
|
||||
Reference in New Issue
Block a user