bootconfig

package
v5.3.1 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2023 License: AGPL-3.0 Imports: 3 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Bindata         bool
	StaticMW        interface{}
	BackendTmplMgr  driver.Manager
	FrontendTmplMgr driver.Manager
	LangFSFunc      func(dir string) http.FileSystem
	Develop         bool
	SupportManager  bool
	MustLicensed    bool //是否必须被许可才能运行(如为true,则未许可的情况下会强制退出程序,否则不会退出程序) Must be licensed before starting
	FaviconHandler  func(echo.Context) error
	FaviconPath     = "public/assets/backend/images/favicon-xs.ico"
	SoftwareName    = `Nging`

	// Short 简述
	Short = `Nging is a web and network service management system`
	// Long 长述
	Long string
	// Welcome 欢迎语
	Welcome             = "Thank you for choosing nging %s, I hope you enjoy using it.\nToday is %s."
	AutoUpgradeDBStruct = true
)
View Source
var OnStartList []func()

Functions

func IsServerType

func IsServerType(typ string) bool

func IsWeb

func IsWeb() bool

func OnStart

func OnStart(index int, fn ...func())

func SetServerType

func SetServerType(typ string)

func Start

func Start()

Types

This section is empty.

Jump to

Keyboard shortcuts

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