diff options
Diffstat (limited to 'examples/redis-unstable/src/commands/acl-whoami.json')
| -rw-r--r-- | examples/redis-unstable/src/commands/acl-whoami.json | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/examples/redis-unstable/src/commands/acl-whoami.json b/examples/redis-unstable/src/commands/acl-whoami.json new file mode 100644 index 0000000..2efe98c --- /dev/null +++ b/examples/redis-unstable/src/commands/acl-whoami.json | |||
| @@ -0,0 +1,21 @@ | |||
| 1 | { | ||
| 2 | "WHOAMI": { | ||
| 3 | "summary": "Returns the authenticated username of the current connection.", | ||
| 4 | "complexity": "O(1)", | ||
| 5 | "group": "server", | ||
| 6 | "since": "6.0.0", | ||
| 7 | "arity": 2, | ||
| 8 | "container": "ACL", | ||
| 9 | "function": "aclCommand", | ||
| 10 | "command_flags": [ | ||
| 11 | "NOSCRIPT", | ||
| 12 | "LOADING", | ||
| 13 | "STALE", | ||
| 14 | "SENTINEL" | ||
| 15 | ], | ||
| 16 | "reply_schema": { | ||
| 17 | "type": "string", | ||
| 18 | "description": "The username of the current connection." | ||
| 19 | } | ||
| 20 | } | ||
| 21 | } | ||
