Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WebServerConfig ¶
type WebServerConfig struct { EnableHTTP bool `value:"${web.server.enable:=true}"` // 是否启用 HTTP Port int `value:"${web.server.port:=8080}"` // HTTP 端口 EnableHTTPS bool `value:"${web.server.ssl.enable:=false}"` // 是否启用 HTTPS SSLPort int `value:"${web.server.ssl.port:=8443}"` // SSL 端口 SSLCert string `value:"${web.server.ssl.cert:=}"` // SSL 证书 SSLKey string `value:"${web.server.ssl.key:=}"` // SSL 秘钥 }
WebServerConfig Web 服务器配置
type WebServerStarter ¶
type WebServerStarter struct {
WebServer *SpringWeb.WebServer `autowire:""`
}
WebServerStarter Web 容器启动器
func (*WebServerStarter) OnStartApplication ¶
func (starter *WebServerStarter) OnStartApplication(ctx SpringBoot.ApplicationContext)
func (*WebServerStarter) OnStopApplication ¶
func (starter *WebServerStarter) OnStopApplication(ctx SpringBoot.ApplicationContext)
Click to show internal directories.
Click to hide internal directories.