Router2SystemInit

package
v5.2.7 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2024 License: Apache-2.0 Imports: 97 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

type RunStartPrint added in v5.1.39

type RunStartPrint struct {
	//前置语言
	Pre string
	//后置语言
	Suf string
	// contains filtered or unexported fields
}

RunStartPrint 启动时间处理器

func (*RunStartPrint) End added in v5.1.39

func (t *RunStartPrint) End()

func (*RunStartPrint) EndPrint added in v5.1.39

func (t *RunStartPrint) EndPrint()

func (*RunStartPrint) Print added in v5.1.39

func (t *RunStartPrint) Print()

func (*RunStartPrint) Start added in v5.1.39

func (t *RunStartPrint) Start()

Jump to

Keyboard shortcuts

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