Documentation ¶
Index ¶
- func RegisterCalculatorServiceServer(s *grpc.Server, srv CalculatorServiceServer)
- type CalculatorServiceClient
- type CalculatorServiceServer
- type CalculatorService_ComputeAverageClient
- type CalculatorService_ComputeAverageServer
- type CalculatorService_FindMaximumClient
- type CalculatorService_FindMaximumServer
- type CalculatorService_PrimeNumberDecompositionClient
- type CalculatorService_PrimeNumberDecompositionServer
- type ComputeAverageRequest
- func (*ComputeAverageRequest) Descriptor() ([]byte, []int)
- func (m *ComputeAverageRequest) GetNumber() int32
- func (*ComputeAverageRequest) ProtoMessage()
- func (m *ComputeAverageRequest) Reset()
- func (m *ComputeAverageRequest) String() string
- func (m *ComputeAverageRequest) XXX_DiscardUnknown()
- func (m *ComputeAverageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ComputeAverageRequest) XXX_Merge(src proto.Message)
- func (m *ComputeAverageRequest) XXX_Size() int
- func (m *ComputeAverageRequest) XXX_Unmarshal(b []byte) error
- type ComputeAverageResponse
- func (*ComputeAverageResponse) Descriptor() ([]byte, []int)
- func (m *ComputeAverageResponse) GetAverage() float64
- func (*ComputeAverageResponse) ProtoMessage()
- func (m *ComputeAverageResponse) Reset()
- func (m *ComputeAverageResponse) String() string
- func (m *ComputeAverageResponse) XXX_DiscardUnknown()
- func (m *ComputeAverageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ComputeAverageResponse) XXX_Merge(src proto.Message)
- func (m *ComputeAverageResponse) XXX_Size() int
- func (m *ComputeAverageResponse) XXX_Unmarshal(b []byte) error
- type FindMaximumRequest
- func (*FindMaximumRequest) Descriptor() ([]byte, []int)
- func (m *FindMaximumRequest) GetNumber() int32
- func (*FindMaximumRequest) ProtoMessage()
- func (m *FindMaximumRequest) Reset()
- func (m *FindMaximumRequest) String() string
- func (m *FindMaximumRequest) XXX_DiscardUnknown()
- func (m *FindMaximumRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *FindMaximumRequest) XXX_Merge(src proto.Message)
- func (m *FindMaximumRequest) XXX_Size() int
- func (m *FindMaximumRequest) XXX_Unmarshal(b []byte) error
- type FindMaximumResponse
- func (*FindMaximumResponse) Descriptor() ([]byte, []int)
- func (m *FindMaximumResponse) GetMaximum() int32
- func (*FindMaximumResponse) ProtoMessage()
- func (m *FindMaximumResponse) Reset()
- func (m *FindMaximumResponse) String() string
- func (m *FindMaximumResponse) XXX_DiscardUnknown()
- func (m *FindMaximumResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *FindMaximumResponse) XXX_Merge(src proto.Message)
- func (m *FindMaximumResponse) XXX_Size() int
- func (m *FindMaximumResponse) XXX_Unmarshal(b []byte) error
- type PrimeNumberDecompositionRequest
- func (*PrimeNumberDecompositionRequest) Descriptor() ([]byte, []int)
- func (m *PrimeNumberDecompositionRequest) GetNumber() int64
- func (*PrimeNumberDecompositionRequest) ProtoMessage()
- func (m *PrimeNumberDecompositionRequest) Reset()
- func (m *PrimeNumberDecompositionRequest) String() string
- func (m *PrimeNumberDecompositionRequest) XXX_DiscardUnknown()
- func (m *PrimeNumberDecompositionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *PrimeNumberDecompositionRequest) XXX_Merge(src proto.Message)
- func (m *PrimeNumberDecompositionRequest) XXX_Size() int
- func (m *PrimeNumberDecompositionRequest) XXX_Unmarshal(b []byte) error
- type PrimeNumberDecompositionResponse
- func (*PrimeNumberDecompositionResponse) Descriptor() ([]byte, []int)
- func (m *PrimeNumberDecompositionResponse) GetPrimeFactor() int64
- func (*PrimeNumberDecompositionResponse) ProtoMessage()
- func (m *PrimeNumberDecompositionResponse) Reset()
- func (m *PrimeNumberDecompositionResponse) String() string
- func (m *PrimeNumberDecompositionResponse) XXX_DiscardUnknown()
- func (m *PrimeNumberDecompositionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *PrimeNumberDecompositionResponse) XXX_Merge(src proto.Message)
- func (m *PrimeNumberDecompositionResponse) XXX_Size() int
- func (m *PrimeNumberDecompositionResponse) XXX_Unmarshal(b []byte) error
- type SquareRootRequest
- func (*SquareRootRequest) Descriptor() ([]byte, []int)
- func (m *SquareRootRequest) GetNumber() int32
- func (*SquareRootRequest) ProtoMessage()
- func (m *SquareRootRequest) Reset()
- func (m *SquareRootRequest) String() string
- func (m *SquareRootRequest) XXX_DiscardUnknown()
- func (m *SquareRootRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SquareRootRequest) XXX_Merge(src proto.Message)
- func (m *SquareRootRequest) XXX_Size() int
- func (m *SquareRootRequest) XXX_Unmarshal(b []byte) error
- type SquareRootResponse
- func (*SquareRootResponse) Descriptor() ([]byte, []int)
- func (m *SquareRootResponse) GetNumberRoot() float64
- func (*SquareRootResponse) ProtoMessage()
- func (m *SquareRootResponse) Reset()
- func (m *SquareRootResponse) String() string
- func (m *SquareRootResponse) XXX_DiscardUnknown()
- func (m *SquareRootResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SquareRootResponse) XXX_Merge(src proto.Message)
- func (m *SquareRootResponse) XXX_Size() int
- func (m *SquareRootResponse) XXX_Unmarshal(b []byte) error
- type SumRequest
- func (*SumRequest) Descriptor() ([]byte, []int)
- func (m *SumRequest) GetFirstNumber() int32
- func (m *SumRequest) GetSecondNumber() int32
- func (*SumRequest) ProtoMessage()
- func (m *SumRequest) Reset()
- func (m *SumRequest) String() string
- func (m *SumRequest) XXX_DiscardUnknown()
- func (m *SumRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SumRequest) XXX_Merge(src proto.Message)
- func (m *SumRequest) XXX_Size() int
- func (m *SumRequest) XXX_Unmarshal(b []byte) error
- type SumResponse
- func (*SumResponse) Descriptor() ([]byte, []int)
- func (m *SumResponse) GetSumResult() int32
- func (*SumResponse) ProtoMessage()
- func (m *SumResponse) Reset()
- func (m *SumResponse) String() string
- func (m *SumResponse) XXX_DiscardUnknown()
- func (m *SumResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SumResponse) XXX_Merge(src proto.Message)
- func (m *SumResponse) XXX_Size() int
- func (m *SumResponse) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterCalculatorServiceServer ¶
func RegisterCalculatorServiceServer(s *grpc.Server, srv CalculatorServiceServer)
Types ¶
type CalculatorServiceClient ¶
type CalculatorServiceClient interface { Sum(ctx context.Context, in *SumRequest, opts ...grpc.CallOption) (*SumResponse, error) PrimeNumberDecomposition(ctx context.Context, in *PrimeNumberDecompositionRequest, opts ...grpc.CallOption) (CalculatorService_PrimeNumberDecompositionClient, error) ComputeAverage(ctx context.Context, opts ...grpc.CallOption) (CalculatorService_ComputeAverageClient, error) FindMaximum(ctx context.Context, opts ...grpc.CallOption) (CalculatorService_FindMaximumClient, error) SquareRoot(ctx context.Context, in *SquareRootRequest, opts ...grpc.CallOption) (*SquareRootResponse, error) }
CalculatorServiceClient is the client API for CalculatorService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewCalculatorServiceClient ¶
func NewCalculatorServiceClient(cc *grpc.ClientConn) CalculatorServiceClient
type CalculatorServiceServer ¶
type CalculatorServiceServer interface { Sum(context.Context, *SumRequest) (*SumResponse, error) PrimeNumberDecomposition(*PrimeNumberDecompositionRequest, CalculatorService_PrimeNumberDecompositionServer) error ComputeAverage(CalculatorService_ComputeAverageServer) error FindMaximum(CalculatorService_FindMaximumServer) error SquareRoot(context.Context, *SquareRootRequest) (*SquareRootResponse, error) }
CalculatorServiceServer is the server API for CalculatorService service.
type CalculatorService_ComputeAverageClient ¶
type CalculatorService_ComputeAverageClient interface { Send(*ComputeAverageRequest) error CloseAndRecv() (*ComputeAverageResponse, error) grpc.ClientStream }
type CalculatorService_ComputeAverageServer ¶
type CalculatorService_ComputeAverageServer interface { SendAndClose(*ComputeAverageResponse) error Recv() (*ComputeAverageRequest, error) grpc.ServerStream }
type CalculatorService_FindMaximumClient ¶
type CalculatorService_FindMaximumClient interface { Send(*FindMaximumRequest) error Recv() (*FindMaximumResponse, error) grpc.ClientStream }
type CalculatorService_FindMaximumServer ¶
type CalculatorService_FindMaximumServer interface { Send(*FindMaximumResponse) error Recv() (*FindMaximumRequest, error) grpc.ServerStream }
type CalculatorService_PrimeNumberDecompositionClient ¶
type CalculatorService_PrimeNumberDecompositionClient interface { Recv() (*PrimeNumberDecompositionResponse, error) grpc.ClientStream }
type CalculatorService_PrimeNumberDecompositionServer ¶
type CalculatorService_PrimeNumberDecompositionServer interface { Send(*PrimeNumberDecompositionResponse) error grpc.ServerStream }
type ComputeAverageRequest ¶
type ComputeAverageRequest struct { Number int32 `protobuf:"varint,1,opt,name=number,proto3" json:"number,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ComputeAverageRequest) Descriptor ¶
func (*ComputeAverageRequest) Descriptor() ([]byte, []int)
func (*ComputeAverageRequest) GetNumber ¶
func (m *ComputeAverageRequest) GetNumber() int32
func (*ComputeAverageRequest) ProtoMessage ¶
func (*ComputeAverageRequest) ProtoMessage()
func (*ComputeAverageRequest) Reset ¶
func (m *ComputeAverageRequest) Reset()
func (*ComputeAverageRequest) String ¶
func (m *ComputeAverageRequest) String() string
func (*ComputeAverageRequest) XXX_DiscardUnknown ¶
func (m *ComputeAverageRequest) XXX_DiscardUnknown()
func (*ComputeAverageRequest) XXX_Marshal ¶
func (m *ComputeAverageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ComputeAverageRequest) XXX_Merge ¶
func (dst *ComputeAverageRequest) XXX_Merge(src proto.Message)
func (*ComputeAverageRequest) XXX_Size ¶
func (m *ComputeAverageRequest) XXX_Size() int
func (*ComputeAverageRequest) XXX_Unmarshal ¶
func (m *ComputeAverageRequest) XXX_Unmarshal(b []byte) error
type ComputeAverageResponse ¶
type ComputeAverageResponse struct { Average float64 `protobuf:"fixed64,1,opt,name=average,proto3" json:"average,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ComputeAverageResponse) Descriptor ¶
func (*ComputeAverageResponse) Descriptor() ([]byte, []int)
func (*ComputeAverageResponse) GetAverage ¶
func (m *ComputeAverageResponse) GetAverage() float64
func (*ComputeAverageResponse) ProtoMessage ¶
func (*ComputeAverageResponse) ProtoMessage()
func (*ComputeAverageResponse) Reset ¶
func (m *ComputeAverageResponse) Reset()
func (*ComputeAverageResponse) String ¶
func (m *ComputeAverageResponse) String() string
func (*ComputeAverageResponse) XXX_DiscardUnknown ¶
func (m *ComputeAverageResponse) XXX_DiscardUnknown()
func (*ComputeAverageResponse) XXX_Marshal ¶
func (m *ComputeAverageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ComputeAverageResponse) XXX_Merge ¶
func (dst *ComputeAverageResponse) XXX_Merge(src proto.Message)
func (*ComputeAverageResponse) XXX_Size ¶
func (m *ComputeAverageResponse) XXX_Size() int
func (*ComputeAverageResponse) XXX_Unmarshal ¶
func (m *ComputeAverageResponse) XXX_Unmarshal(b []byte) error
type FindMaximumRequest ¶
type FindMaximumRequest struct { Number int32 `protobuf:"varint,1,opt,name=number,proto3" json:"number,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*FindMaximumRequest) Descriptor ¶
func (*FindMaximumRequest) Descriptor() ([]byte, []int)
func (*FindMaximumRequest) GetNumber ¶
func (m *FindMaximumRequest) GetNumber() int32
func (*FindMaximumRequest) ProtoMessage ¶
func (*FindMaximumRequest) ProtoMessage()
func (*FindMaximumRequest) Reset ¶
func (m *FindMaximumRequest) Reset()
func (*FindMaximumRequest) String ¶
func (m *FindMaximumRequest) String() string
func (*FindMaximumRequest) XXX_DiscardUnknown ¶
func (m *FindMaximumRequest) XXX_DiscardUnknown()
func (*FindMaximumRequest) XXX_Marshal ¶
func (m *FindMaximumRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FindMaximumRequest) XXX_Merge ¶
func (dst *FindMaximumRequest) XXX_Merge(src proto.Message)
func (*FindMaximumRequest) XXX_Size ¶
func (m *FindMaximumRequest) XXX_Size() int
func (*FindMaximumRequest) XXX_Unmarshal ¶
func (m *FindMaximumRequest) XXX_Unmarshal(b []byte) error
type FindMaximumResponse ¶
type FindMaximumResponse struct { Maximum int32 `protobuf:"varint,1,opt,name=maximum,proto3" json:"maximum,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*FindMaximumResponse) Descriptor ¶
func (*FindMaximumResponse) Descriptor() ([]byte, []int)
func (*FindMaximumResponse) GetMaximum ¶
func (m *FindMaximumResponse) GetMaximum() int32
func (*FindMaximumResponse) ProtoMessage ¶
func (*FindMaximumResponse) ProtoMessage()
func (*FindMaximumResponse) Reset ¶
func (m *FindMaximumResponse) Reset()
func (*FindMaximumResponse) String ¶
func (m *FindMaximumResponse) String() string
func (*FindMaximumResponse) XXX_DiscardUnknown ¶
func (m *FindMaximumResponse) XXX_DiscardUnknown()
func (*FindMaximumResponse) XXX_Marshal ¶
func (m *FindMaximumResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FindMaximumResponse) XXX_Merge ¶
func (dst *FindMaximumResponse) XXX_Merge(src proto.Message)
func (*FindMaximumResponse) XXX_Size ¶
func (m *FindMaximumResponse) XXX_Size() int
func (*FindMaximumResponse) XXX_Unmarshal ¶
func (m *FindMaximumResponse) XXX_Unmarshal(b []byte) error
type PrimeNumberDecompositionRequest ¶
type PrimeNumberDecompositionRequest struct { Number int64 `protobuf:"varint,1,opt,name=number,proto3" json:"number,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PrimeNumberDecompositionRequest) Descriptor ¶
func (*PrimeNumberDecompositionRequest) Descriptor() ([]byte, []int)
func (*PrimeNumberDecompositionRequest) GetNumber ¶
func (m *PrimeNumberDecompositionRequest) GetNumber() int64
func (*PrimeNumberDecompositionRequest) ProtoMessage ¶
func (*PrimeNumberDecompositionRequest) ProtoMessage()
func (*PrimeNumberDecompositionRequest) Reset ¶
func (m *PrimeNumberDecompositionRequest) Reset()
func (*PrimeNumberDecompositionRequest) String ¶
func (m *PrimeNumberDecompositionRequest) String() string
func (*PrimeNumberDecompositionRequest) XXX_DiscardUnknown ¶
func (m *PrimeNumberDecompositionRequest) XXX_DiscardUnknown()
func (*PrimeNumberDecompositionRequest) XXX_Marshal ¶
func (m *PrimeNumberDecompositionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PrimeNumberDecompositionRequest) XXX_Merge ¶
func (dst *PrimeNumberDecompositionRequest) XXX_Merge(src proto.Message)
func (*PrimeNumberDecompositionRequest) XXX_Size ¶
func (m *PrimeNumberDecompositionRequest) XXX_Size() int
func (*PrimeNumberDecompositionRequest) XXX_Unmarshal ¶
func (m *PrimeNumberDecompositionRequest) XXX_Unmarshal(b []byte) error
type PrimeNumberDecompositionResponse ¶
type PrimeNumberDecompositionResponse struct { PrimeFactor int64 `protobuf:"varint,1,opt,name=prime_factor,json=primeFactor,proto3" json:"prime_factor,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PrimeNumberDecompositionResponse) Descriptor ¶
func (*PrimeNumberDecompositionResponse) Descriptor() ([]byte, []int)
func (*PrimeNumberDecompositionResponse) GetPrimeFactor ¶
func (m *PrimeNumberDecompositionResponse) GetPrimeFactor() int64
func (*PrimeNumberDecompositionResponse) ProtoMessage ¶
func (*PrimeNumberDecompositionResponse) ProtoMessage()
func (*PrimeNumberDecompositionResponse) Reset ¶
func (m *PrimeNumberDecompositionResponse) Reset()
func (*PrimeNumberDecompositionResponse) String ¶
func (m *PrimeNumberDecompositionResponse) String() string
func (*PrimeNumberDecompositionResponse) XXX_DiscardUnknown ¶
func (m *PrimeNumberDecompositionResponse) XXX_DiscardUnknown()
func (*PrimeNumberDecompositionResponse) XXX_Marshal ¶
func (m *PrimeNumberDecompositionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PrimeNumberDecompositionResponse) XXX_Merge ¶
func (dst *PrimeNumberDecompositionResponse) XXX_Merge(src proto.Message)
func (*PrimeNumberDecompositionResponse) XXX_Size ¶
func (m *PrimeNumberDecompositionResponse) XXX_Size() int
func (*PrimeNumberDecompositionResponse) XXX_Unmarshal ¶
func (m *PrimeNumberDecompositionResponse) XXX_Unmarshal(b []byte) error
type SquareRootRequest ¶
type SquareRootRequest struct { Number int32 `protobuf:"varint,1,opt,name=number,proto3" json:"number,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SquareRootRequest) Descriptor ¶
func (*SquareRootRequest) Descriptor() ([]byte, []int)
func (*SquareRootRequest) GetNumber ¶
func (m *SquareRootRequest) GetNumber() int32
func (*SquareRootRequest) ProtoMessage ¶
func (*SquareRootRequest) ProtoMessage()
func (*SquareRootRequest) Reset ¶
func (m *SquareRootRequest) Reset()
func (*SquareRootRequest) String ¶
func (m *SquareRootRequest) String() string
func (*SquareRootRequest) XXX_DiscardUnknown ¶
func (m *SquareRootRequest) XXX_DiscardUnknown()
func (*SquareRootRequest) XXX_Marshal ¶
func (m *SquareRootRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SquareRootRequest) XXX_Merge ¶
func (dst *SquareRootRequest) XXX_Merge(src proto.Message)
func (*SquareRootRequest) XXX_Size ¶
func (m *SquareRootRequest) XXX_Size() int
func (*SquareRootRequest) XXX_Unmarshal ¶
func (m *SquareRootRequest) XXX_Unmarshal(b []byte) error
type SquareRootResponse ¶
type SquareRootResponse struct { NumberRoot float64 `protobuf:"fixed64,1,opt,name=number_root,json=numberRoot,proto3" json:"number_root,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SquareRootResponse) Descriptor ¶
func (*SquareRootResponse) Descriptor() ([]byte, []int)
func (*SquareRootResponse) GetNumberRoot ¶
func (m *SquareRootResponse) GetNumberRoot() float64
func (*SquareRootResponse) ProtoMessage ¶
func (*SquareRootResponse) ProtoMessage()
func (*SquareRootResponse) Reset ¶
func (m *SquareRootResponse) Reset()
func (*SquareRootResponse) String ¶
func (m *SquareRootResponse) String() string
func (*SquareRootResponse) XXX_DiscardUnknown ¶
func (m *SquareRootResponse) XXX_DiscardUnknown()
func (*SquareRootResponse) XXX_Marshal ¶
func (m *SquareRootResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SquareRootResponse) XXX_Merge ¶
func (dst *SquareRootResponse) XXX_Merge(src proto.Message)
func (*SquareRootResponse) XXX_Size ¶
func (m *SquareRootResponse) XXX_Size() int
func (*SquareRootResponse) XXX_Unmarshal ¶
func (m *SquareRootResponse) XXX_Unmarshal(b []byte) error
type SumRequest ¶
type SumRequest struct { FirstNumber int32 `protobuf:"varint,1,opt,name=first_number,json=firstNumber,proto3" json:"first_number,omitempty"` SecondNumber int32 `protobuf:"varint,2,opt,name=second_number,json=secondNumber,proto3" json:"second_number,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SumRequest) Descriptor ¶
func (*SumRequest) Descriptor() ([]byte, []int)
func (*SumRequest) GetFirstNumber ¶
func (m *SumRequest) GetFirstNumber() int32
func (*SumRequest) GetSecondNumber ¶
func (m *SumRequest) GetSecondNumber() int32
func (*SumRequest) ProtoMessage ¶
func (*SumRequest) ProtoMessage()
func (*SumRequest) Reset ¶
func (m *SumRequest) Reset()
func (*SumRequest) String ¶
func (m *SumRequest) String() string
func (*SumRequest) XXX_DiscardUnknown ¶
func (m *SumRequest) XXX_DiscardUnknown()
func (*SumRequest) XXX_Marshal ¶
func (m *SumRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SumRequest) XXX_Merge ¶
func (dst *SumRequest) XXX_Merge(src proto.Message)
func (*SumRequest) XXX_Size ¶
func (m *SumRequest) XXX_Size() int
func (*SumRequest) XXX_Unmarshal ¶
func (m *SumRequest) XXX_Unmarshal(b []byte) error
type SumResponse ¶
type SumResponse struct { SumResult int32 `protobuf:"varint,1,opt,name=sum_result,json=sumResult,proto3" json:"sum_result,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SumResponse) Descriptor ¶
func (*SumResponse) Descriptor() ([]byte, []int)
func (*SumResponse) GetSumResult ¶
func (m *SumResponse) GetSumResult() int32
func (*SumResponse) ProtoMessage ¶
func (*SumResponse) ProtoMessage()
func (*SumResponse) Reset ¶
func (m *SumResponse) Reset()
func (*SumResponse) String ¶
func (m *SumResponse) String() string
func (*SumResponse) XXX_DiscardUnknown ¶
func (m *SumResponse) XXX_DiscardUnknown()
func (*SumResponse) XXX_Marshal ¶
func (m *SumResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SumResponse) XXX_Merge ¶
func (dst *SumResponse) XXX_Merge(src proto.Message)
func (*SumResponse) XXX_Size ¶
func (m *SumResponse) XXX_Size() int
func (*SumResponse) XXX_Unmarshal ¶
func (m *SumResponse) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.