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

This commit is contained in:
2026-01-29 13:55:32 +08:00
committed by 张斌
parent 65b231b88f
commit a8993de6d5
8 changed files with 844 additions and 112 deletions

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)
}