Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server PRC服务端类型
func NewServerByConfig ¶
func NewServerByConfig(conf *ServerConfig) *Server
NewServerByConfig 通过配置创建PRC服务端对象
type ServerConfig ¶
type ServerConfig struct { Address string ServiceCentre *ServiceCentre }
ServerConfig RPC服务端配置
type ServiceCentre ¶
ServiceCentre 服务中心配置
Click to show internal directories.
Click to hide internal directories.