Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConnConf ¶
type ConnConf struct {
HostPort string `yaml:"hostPort" json:"hostPort"`
}
func NewConnConf ¶
func NewConnConf() *ConnConf
func (ConnConf) MustConnect ¶
func (x ConnConf) MustConnect() (conn *grpc.ClientConn)
type GrpcConf ¶
type GrpcConf struct { Port int `yaml:"port" json:"port"` GatewayPort int `yaml:"gatewayPort" json:"gatewayPort"` }
GrpcConf 配置
func (GrpcConf) GatewayListenAddress ¶
GatewayListenAddress `:Port`
func (GrpcConf) GrpcListenAddress ¶
GrpcListenAddress `:Port`
Click to show internal directories.
Click to hide internal directories.