Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RpcContainerConfig ¶
type RpcContainerConfig struct { EnableHTTP bool `value:"${rpc.server.enable:=true}"` // 是否启用 HTTP Port int32 `value:"${rpc.server.port:=9090}"` // HTTP 端口 EnableHTTPS bool `value:"${rpc.server.ssl.enable:=false}"` // 是否启用 HTTPS SSLPort int32 `value:"${rpc.server.ssl.port:=9443}"` // SSL 端口 SSLCert string `value:"${rpc.server.ssl.cert:=}"` // SSL 证书 SSLKey string `value:"${rpc.server.ssl.key:=}"` // SSL 秘钥 }
RPC 容器配置
type RpcContainerStarter ¶
type RpcContainerStarter struct { Config *RpcContainerConfig `autowire:""` Container SpringRpc.RpcContainer SSLContainer SpringRpc.RpcContainer }
RPC 容器启动器
func (*RpcContainerStarter) OnStartApplication ¶
func (starter *RpcContainerStarter) OnStartApplication(ctx SpringBoot.ApplicationContext)
func (*RpcContainerStarter) OnStopApplication ¶
func (starter *RpcContainerStarter) OnStopApplication(ctx SpringBoot.ApplicationContext)
Click to show internal directories.
Click to hide internal directories.