go-zero
go-zero copied to clipboard
Need more methods for cache.
cache redis 方式外部调用只有 get set和一些常规的 希望提供 scan hset hget
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
There are only get set and some regular external calls in cache redis mode, which hope to provide scan hset hget
cache redis 方式外部调用只有 get set和一些常规的 希望提供 scan hset hget
目前只能自己重新实例化一个go-redis的对象来实现,你是什么场景下需要这种需求????
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
The external call in cache redis mode only has get set and some general hope to provide scan hset hget
At present, you can only re-instantiate a go-redis object to achieve this. In what scenario do you need this kind of demand? ? ? ?
当我们使用 mongoc sqlc 的时候,我们希望 cache 的结构仅仅只是一种 kv 结构。不应该支持其他的结构,否则会造成缓存失效特别麻烦。可以讲一下的场景需求。
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
When we use mongoc sqlc, we hope that the structure of the cache is just a kv structure. Other structures should not be supported, otherwise cache invalidation will be particularly troublesome. Can talk about the needs of the scene.
This issue is stale because it has been open for 30 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.