initialize

package
v0.0.0-...-540b577 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2023 License: GPL-3.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ConfigFileDevEnv  = "config_dev.yaml" // 开发环境配置文件名
	ConfigFileProdEnv = "config.yaml"     // 生产环境配置文件名
)

配置文件名

View Source
const MessageChannelCapacity = 1024

Variables

This section is empty.

Functions

func InitConfig

func InitConfig()

InitConfig 初始化配置

func InitDGraph

func InitDGraph()

func InitEngine

func InitEngine()

InitEngine 初始化路由器

func InitLog

func InitLog()

InitLog 初始化日志

func InitMongoDB

func InitMongoDB()

InitMongoDB 初始化 MongoDB

func InitRabbitMQ

func InitRabbitMQ()

InitRabbitMQ initialize message queue

func InitRedis

func InitRedis()

InitRedis initialize Redis

func InitTiDB

func InitTiDB()

InitTiDB initialize TiDB

func InitWebSocketManager

func InitWebSocketManager()

Types

type TaskManager

type TaskManager struct {
}

TaskManager 任务管理器

Jump to

Keyboard shortcuts

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