重构消息队列模块,统一Redis/RabbitMQ/NATS客户端接口,新增消息代理抽象层

This commit is contained in:
2026-03-12 08:51:38 +08:00
committed by admin
parent 65b231b88f
commit a8993de6d5
8 changed files with 844 additions and 112 deletions
-5
View File
@@ -7,11 +7,6 @@ import (
"github.com/gogf/gf/v2/errors/gerror"
)
// GetRedisClient 获取 Redis 客户端(供外部使用)
func GetRedisClient() *gredis.Redis {
return getRedisClient()
}
func GetRedisClientTest(name string) *gredis.Redis {
return getRedisClientTest(name)
}