feat(server): Implement NUMSUB subcommand (#2282)

* feat(server): Implement NUMSUB subcommand

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix: test

* fix: build error
This commit is contained in:
s-shiraki 2023-12-17 03:42:15 +09:00 committed by GitHub
parent 4cce3b4a01
commit bd3e57d262
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 70 additions and 0 deletions

View file

@ -150,6 +150,7 @@ class Service : public facade::ServiceInterface {
void PubsubChannels(std::string_view pattern, ConnectionContext* cntx);
void PubsubPatterns(ConnectionContext* cntx);
void PubsubNumSub(CmdArgList channels, ConnectionContext* cntx);
struct EvalArgs {
std::string_view sha; // only one of them is defined.