Router2SystemInit

package
v5.1.32 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2024 License: Apache-2.0 Imports: 95 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
)

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