Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Logger *logger.Logger // 基于zap的日志记录器 Redis *redis.Client // redis客户端 DB *gorm.DB // 数据库客户端 MemoryCache *memory.Cache // 本地内存缓存客户端 Guzzle *guzzle.Client // http客户端简单封装 Queue *queue.Queue // 队列 )
全局使用的句柄变量--client
① 项目启动就要初始化的全局变量句柄 ② 按client包规则书写
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.