Documentation ¶
Index ¶
Constants ¶
View Source
const (
Local = "zh"
)
Variables ¶
View Source
var ( UserDB *gorm.DB // 用户服务数据库 GoodsDB *gorm.DB // 商品服务数据库 GRPCServer *grpc.Server // GRPC 服务器实例 RedisClient *redis.Client // redis 客户端 Trans ut.Translator // 翻译器 UserClient user.UserClient // 用户微服务客户端 BannerClient banner.BannerClient // 广告微服务客户端 BrandClient brand.BrandClient // 品牌微服务客户端 BrandCategoryClient brand_category.BrandCategoryClient // 品牌分类微服务客户端 GoodsClient goods.GoodsClient // 商品微服务客户端 GoodsCategoryClient goods_category.GoodsCategoryClient // 商品微服务客户端 )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.