Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Bindata bool StaticMW interface{} HTTPCacheMaxAge = com.GetenvDuration(`NGING_HTTPCACHE_MAXAGE`, time.Hour*24*7) 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` // 软件英文名(也作为软件二进制可执行文件的名称) SoftwareTitle = `Nging` // 软件标题(显示在网页上的软件名称) OfficialHomepage = `https://github.com/admpub/nging` Policy func() echo.KVList Setup = func(echo.Context) error { return echo.ErrNotImplemented } Upgrade = func() error { return nil } // 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 )
Functions ¶
func IsServerType ¶
func SetServerType ¶
func SetServerType(typ string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.