diff options
Diffstat (limited to 'examples/redis-unstable/src/commands/module-load.json')
| -rw-r--r-- | examples/redis-unstable/src/commands/module-load.json | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/examples/redis-unstable/src/commands/module-load.json b/examples/redis-unstable/src/commands/module-load.json new file mode 100644 index 0000000..dd5d654 --- /dev/null +++ b/examples/redis-unstable/src/commands/module-load.json | |||
| @@ -0,0 +1,32 @@ | |||
| 1 | { | ||
| 2 | "LOAD": { | ||
| 3 | "summary": "Loads a module.", | ||
| 4 | "complexity": "O(1)", | ||
| 5 | "group": "server", | ||
| 6 | "since": "4.0.0", | ||
| 7 | "arity": -3, | ||
| 8 | "container": "MODULE", | ||
| 9 | "function": "moduleCommand", | ||
| 10 | "command_flags": [ | ||
| 11 | "NO_ASYNC_LOADING", | ||
| 12 | "ADMIN", | ||
| 13 | "NOSCRIPT", | ||
| 14 | "PROTECTED" | ||
| 15 | ], | ||
| 16 | "reply_schema": { | ||
| 17 | "const": "OK" | ||
| 18 | }, | ||
| 19 | "arguments": [ | ||
| 20 | { | ||
| 21 | "name": "path", | ||
| 22 | "type": "string" | ||
| 23 | }, | ||
| 24 | { | ||
| 25 | "name": "arg", | ||
| 26 | "type": "string", | ||
| 27 | "optional": true, | ||
| 28 | "multiple": true | ||
| 29 | } | ||
| 30 | ] | ||
| 31 | } | ||
| 32 | } | ||
