Documentation
¶
Index ¶
- Variables
- type ArithRequest
- func (*ArithRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ArithRequest) GetA() float64
- func (x *ArithRequest) GetB() float64
- func (*ArithRequest) ProtoMessage()
- func (x *ArithRequest) ProtoReflect() protoreflect.Message
- func (x *ArithRequest) Reset()
- func (x *ArithRequest) String() string
- type ArithResponse
- type ArithService
Constants ¶
This section is empty.
Variables ¶
View Source
var File_arith_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ArithRequest ¶
type ArithRequest struct { A float64 `protobuf:"fixed64,1,opt,name=a,proto3" json:"a,omitempty"` B float64 `protobuf:"fixed64,2,opt,name=b,proto3" json:"b,omitempty"` // contains filtered or unexported fields }
func (*ArithRequest) Descriptor
deprecated
func (*ArithRequest) Descriptor() ([]byte, []int)
Deprecated: Use ArithRequest.ProtoReflect.Descriptor instead.
func (*ArithRequest) GetA ¶
func (x *ArithRequest) GetA() float64
func (*ArithRequest) GetB ¶
func (x *ArithRequest) GetB() float64
func (*ArithRequest) ProtoMessage ¶
func (*ArithRequest) ProtoMessage()
func (*ArithRequest) ProtoReflect ¶
func (x *ArithRequest) ProtoReflect() protoreflect.Message
func (*ArithRequest) Reset ¶
func (x *ArithRequest) Reset()
func (*ArithRequest) String ¶
func (x *ArithRequest) String() string
type ArithResponse ¶
type ArithResponse struct { C float64 `protobuf:"fixed64,1,opt,name=c,proto3" json:"c,omitempty"` // contains filtered or unexported fields }
func (*ArithResponse) Descriptor
deprecated
func (*ArithResponse) Descriptor() ([]byte, []int)
Deprecated: Use ArithResponse.ProtoReflect.Descriptor instead.
func (*ArithResponse) GetC ¶
func (x *ArithResponse) GetC() float64
func (*ArithResponse) ProtoMessage ¶
func (*ArithResponse) ProtoMessage()
func (*ArithResponse) ProtoReflect ¶
func (x *ArithResponse) ProtoReflect() protoreflect.Message
func (*ArithResponse) Reset ¶
func (x *ArithResponse) Reset()
func (*ArithResponse) String ¶
func (x *ArithResponse) String() string
type ArithService ¶
type ArithService struct{}
ArithService Defining Computational Digital Services
func (*ArithService) Add ¶
func (*ArithService) Add(args *ArithRequest, reply *ArithResponse) error
Add addition
func (*ArithService) Div ¶
func (*ArithService) Div(args *ArithRequest, reply *ArithResponse) error
Div division
func (*ArithService) Mul ¶
func (*ArithService) Mul(args *ArithRequest, reply *ArithResponse) error
Mul multiplication
func (*ArithService) Sub ¶
func (*ArithService) Sub(args *ArithRequest, reply *ArithResponse) error
Sub subtraction
Click to show internal directories.
Click to hide internal directories.