docs/components/contrib-nosql-redis #254
Replies: 1 comment
-
|
无法在不使用反射的情况下,通过goframe框架直接拿到redis的client对象,这就导致了,如果我的项目里需要用到"github.com/bsm/redislock"这样的redis分布式锁工具,我就无法直接使用goframe框架已经连接上的redis客户端对象,而是需要再次手动建立连接,这就很浪费资源了。建议作者更改一下goframe框架redis项目的设计。 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
docs/components/contrib-nosql-redis
NoSQL Redis客户端在GoFrame框架中的实现,主要通过gredis组件进行Redis操作,采用连接池设计和命令通道方式,保证了组件的通用性和扩展性。本文提供安装和引用指南,强调gredis的显著特性,并链接至相关接口文档。开发者可通过社区组件实现100多项常用方法,并支持包括集群化操作在内的多种高级功能。
https://goframe.org/docs/components/contrib-nosql-redis
Beta Was this translation helpful? Give feedback.
All reactions