Router2SystemInit

package
v5.1.37 Latest Latest
Warning

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

Go to latest
Published: May 16, 2024 License: Apache-2.0 Imports: 96 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	//AppName 应用基本信息
	AppName = "weeekj"
	//AppVersion 应用版本号
	AppVersion = "2.0.0"
	//OpenSub 是否启动通用框架体系的订阅消息
	OpenSub = false
	//OpenAnalysis 是否启动通用框架体系的统计支持
	OpenAnalysis = false
	//OpenAPIDefaultSet 是否加载API默认静态路由
	OpenAPIDefaultSet = true
	//OpenSystemReg 是否启动注册机机制
	OpenSystemReg = true
)
View Source
var (
	//OpenInstallLocalSQL 安装本地化SQL
	OpenInstallLocalSQL = true
	// OpenInstallConfig 启动开关
	OpenInstallConfig = true
	// OpenInstallSMS 启动SMS
	OpenInstallSMS = true
	// OpenInstallEmail 启动邮箱
	OpenInstallEmail = true
	// OpenInstallUser 启动用户
	OpenInstallUser = true
	// OpenInstallEarlyWarning 启动预警模块
	OpenInstallEarlyWarning = true
	// OpenInstallFinance 启动财务
	OpenInstallFinance = true
	// OpenInstallOrg 启动组织
	OpenInstallOrg = true
)

Functions

func Init

func Init() (err error)

func Install

func Install() (err error)

func Main

func Main()

Main 初始化程序设计

func Run

func Run(urlHandle func())

Run 核心run 请阻塞本函数,不要使用go运行,否则应用会跳出

Types

This section is empty.

Jump to

Keyboard shortcuts

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