Go: add statistics command (#16119)

### What problem does this PR solve?

Prepare for enterprise command

### Type of change

- [x] New Feature (non-breaking change which adds functionality)

---------

Signed-off-by: Jin Hai <haijin.chn@gmail.com>
This commit is contained in:
Jin Hai
2026-06-18 15:21:44 +08:00
committed by GitHub
parent 351b61a243
commit 20d11648a4
12 changed files with 2889 additions and 465 deletions

View File

@@ -138,6 +138,8 @@ func (p *Parser) parseAdminCommand() (*Command, error) {
return p.parseAdminSaveCommand()
case TokenUse:
return p.parseAdminUseCommand()
case TokenPurge:
return p.parseAdminPurgeCommand()
default:
return nil, fmt.Errorf("unknown command: %s", p.curToken.Value)
}