glassconf

package
v0.0.19 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// WebStaticContextPath  静态web资源的上下文路径
	WebStaticContextPath            = "web.static.context-path"
	WebStaticIndexPages             = "web.static.index-pages"
	WebStaticContentTypesProperties = "web.static.content-types-properties"
	WebStaticRoot                   = "web.static.root"

	// WebRestContextPath  REST-web资源的上下文路径
	WebRestContextPath = "web.rest.context-path"

	ServerName   = "server.name"
	ServerPort   = "server.port"
	ServerHost   = "server.host"
	ServerEnable = "server.enable"

	ServerHttpsName     = "server.https.name"
	ServerHttpsPort     = "server.https.port"
	ServerHttpsHost     = "server.https.host"
	ServerHttpsEnable   = "server.https.enable"
	ServerHttpsKeyFile  = "server.https.key-file"
	ServerHttpsCertFile = "server.https.cert-file"

	WebErrorPageResource    = "web.error-page.resource"
	WebErrorPageContentType = "web.error-page.content-type"
	WebErrorPageStatus      = "web.error-page.status"

	WebDevToolsEnable = "web.devtools.enable"

	GinMode = "gin.mode"
)

Variables

This section is empty.

Functions

func MainConfig

func MainConfig(cb application.ConfigBuilder, module application.Module) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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