client

package
v0.0.0-...-1cc9653 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 21, 2021 License: GPL-3.0 Imports: 6 Imported by: 0

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL