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.
Click to show internal directories.
Click to hide internal directories.