Documentation ¶
Overview ¶
Package proto is a generated protocol buffer package.
It is generated from these files:
calc.proto
It has these top-level messages:
Request Response
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterCalcServer ¶
func RegisterCalcServer(s *grpc.Server, srv CalcServer)
Types ¶
type CalcClient ¶
type CalcClient interface {
Add(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error)
}
func NewCalcClient ¶
func NewCalcClient(cc *grpc.ClientConn) CalcClient
Click to show internal directories.
Click to hide internal directories.