Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Align go-redis ProbabilisticCmdable (#406)
* init commit * WIP: Add new command types * copy tests from go-redis * add go-redis test url * WIP: scaffolding BF* cmd TODO: CacheCompat * add BF* to CacheCompat * WIP: Compat * WIP: TDigest * fill all commands * WIP: Finish BF.INFO cmd * WIP: BF.INFO: use generic to handle BfInfoArgType * introduce baseCmd * minor tweak * change tag from cmd to redis * make tests for BF.INFO pass * add notes for argument in rueidiscompat.Scan() * implement newScanDumpCmd * implement newCMSInfoCmd * implement CF.* * implement TopK.*, TDigest.* * minor tweaks * revert command spec for TDIGEST.ADD, allow multiple option in value * revert command spec for TDIGEST.BYRANK to avoid breaking change * revert command for CMS.MERGE * use str instead of fmt.Sprint to avoid unexpected any to string conversion * revert command spec for TDIGEST.BYREVRANK * minor tweaks * revert TDIGEST.ADD: remove multiple:true in values block * replace fmt.Sprint() by str()
- Loading branch information