global

package
v0.0.0-...-b89eba7 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2022 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Logger     *logger.Log          // 日志
	PbSettings config.Public        // Public配置
	PvSettings config.Private       // Private配置
	Page       *app.Page            // 分页
	Worker     *work.Worker         // 工作池
	Maker      token.Maker          // token
	EmailMark  *mark.Mark           // 邮箱标记
	GenID      *snowflake.Snowflake // snowflake生成id
	ChatMap    *manager.ChatMap     // 聊天链接管理器
	OSS        upload.OSS
)
View Source
var (
	RootDir string // 项目根路径

)

Functions

func DefaultContextWithTimeOut

func DefaultContextWithTimeOut() (context.Context, context.CancelFunc)

DefaultContextWithTimeOut 获取默认限时连接上下文 成功: 返回上下文和终止函数

Types

This section is empty.

Jump to

Keyboard shortcuts

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