Documentation ¶
Overview ¶
Package pb is a generated protocol buffer package.
It is generated from these files:
gIntercept.proto
It has these top-level messages:
GCDRequest GCDResponse
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterGCDServiceServer ¶
func RegisterGCDServiceServer(s *grpc.Server, srv GCDServiceServer)
Types ¶
type GCDRequest ¶
type GCDRequest struct { A uint64 `protobuf:"varint,1,opt,name=a" json:"a,omitempty"` B uint64 `protobuf:"varint,2,opt,name=b" json:"b,omitempty"` }
func (*GCDRequest) Descriptor ¶
func (*GCDRequest) Descriptor() ([]byte, []int)
func (*GCDRequest) GetA ¶
func (m *GCDRequest) GetA() uint64
func (*GCDRequest) GetB ¶
func (m *GCDRequest) GetB() uint64
func (*GCDRequest) ProtoMessage ¶
func (*GCDRequest) ProtoMessage()
func (*GCDRequest) Reset ¶
func (m *GCDRequest) Reset()
func (*GCDRequest) String ¶
func (m *GCDRequest) String() string
type GCDResponse ¶
type GCDResponse struct {
Result uint64 `protobuf:"varint,1,opt,name=result" json:"result,omitempty"`
}
func (*GCDResponse) Descriptor ¶
func (*GCDResponse) Descriptor() ([]byte, []int)
func (*GCDResponse) GetResult ¶
func (m *GCDResponse) GetResult() uint64
func (*GCDResponse) ProtoMessage ¶
func (*GCDResponse) ProtoMessage()
func (*GCDResponse) Reset ¶
func (m *GCDResponse) Reset()
func (*GCDResponse) String ¶
func (m *GCDResponse) String() string
type GCDServiceClient ¶
type GCDServiceClient interface {
Compute(ctx context.Context, in *GCDRequest, opts ...grpc.CallOption) (*GCDResponse, error)
}
func NewGCDServiceClient ¶
func NewGCDServiceClient(cc *grpc.ClientConn) GCDServiceClient
type GCDServiceServer ¶
type GCDServiceServer interface {
Compute(context.Context, *GCDRequest) (*GCDResponse, error)
}
Click to show internal directories.
Click to hide internal directories.