2881099 / FreeRedis

🦄 FreeRedis is .NET40+ redis client. supports cluster, sentinel, master-slave, pub-sub, lua, pipeline, transaction, streams, client-side-caching, and pooling.
MIT License
913 stars 163 forks source link

建议增加对模块的支持 #95

Open woodcoal opened 2 years ago

woodcoal commented 2 years ago

请问支持自定义 cli 命令吗? 因为 Redis 支持加载模块,如 RedisJSON、 RedisTimeSeries 等 基本一个 Redis 可以走天下的感觉

那么因为模块的不同,适配的命令都将不一样。 如果不针对模块单独开发的话,请问是否支持自定义 cli 命令?

这样的话可以通过命令自行扩展操作

2881099 commented 2 years ago

cli.Call("BF.RESERVE" .InputKey(key) .Input(errorRate, capacity) .InputIf(expansion != 2, "EXPANSION", expansion) .InputIf(nonScaling, "NONSCALING"), rt => rt.ThrowOrValue\());

woodcoal commented 2 years ago

GOOD!

看来是时候将 csredis 换成 FreeRedis 了

2881099 commented 2 years ago