Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Math ¶
type Math struct {
math.UnimplementedMathServer
}
Math is a gRPC example service
func (*Math) Add ¶
func (t *Math) Add(_ context.Context, args *math.MathAddArgs) (*math.MathAddReply, error)
Add adds two numbers
func (*Math) Subtract ¶
func (t *Math) Subtract(_ context.Context, args *math.MathSubtractArgs) (*math.MathSubtractReply, error)
Subtract subtracts two numbers
Click to show internal directories.
Click to hide internal directories.