Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EndpointConfig ¶
type EndpointConfig struct {
Address string `value:"${address:=localhost:9090}"`
}
EndpointConfig is the configuration of the grpc client.
type Server ¶
type Server struct { Register interface{} // register function Service interface{} // service provider }
A Server is a service provider and its register function.
type ServerConfig ¶
type ServerConfig struct {
Port int `value:"${port:=9090}"`
}
ServerConfig is the configuration of the grpc server.
Click to show internal directories.
Click to hide internal directories.