Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGrpcServer ¶
func NewGrpcServer(svc mathservice2.Service) grpcServer
func NewHttpRouter ¶
Types ¶
type MathOpRequest ¶
type MathOpRequest struct {
A, B float64
}
MathOpRequest collects the request parameters for the math methods.
type MathOpResponse ¶
MathOpResponse collects the response values for the math methods.
Click to show internal directories.
Click to hide internal directories.