Versions in this module Expand all Collapse all v1 v1.0.2 Nov 21, 2019 v1.0.1 Nov 20, 2019 Changes in this version + var ErrIntOverflowArith = fmt.Errorf("proto: integer overflow") + var ErrIntOverflowEcho = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthArith = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidLengthEcho = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrUnexpectedEndOfGroupArith = fmt.Errorf("proto: unexpected end of group") + var ErrUnexpectedEndOfGroupEcho = fmt.Errorf("proto: unexpected end of group") + type ArithRequest struct + A int32 + B int32 + func (*ArithRequest) Descriptor() ([]byte, []int) + func (*ArithRequest) ProtoMessage() + func (m *ArithRequest) GetA() int32 + func (m *ArithRequest) GetB() int32 + func (m *ArithRequest) Marshal() (dAtA []byte, err error) + func (m *ArithRequest) MarshalTo(dAtA []byte) (int, error) + func (m *ArithRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *ArithRequest) Reset() + func (m *ArithRequest) Size() (n int) + func (m *ArithRequest) String() string + func (m *ArithRequest) Unmarshal(dAtA []byte) error + func (m *ArithRequest) XXX_DiscardUnknown() + func (m *ArithRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ArithRequest) XXX_Merge(src proto.Message) + func (m *ArithRequest) XXX_Size() int + func (m *ArithRequest) XXX_Unmarshal(b []byte) error + type ArithResponse struct + C int32 + func (*ArithResponse) Descriptor() ([]byte, []int) + func (*ArithResponse) ProtoMessage() + func (m *ArithResponse) GetC() int32 + func (m *ArithResponse) Marshal() (dAtA []byte, err error) + func (m *ArithResponse) MarshalTo(dAtA []byte) (int, error) + func (m *ArithResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *ArithResponse) Reset() + func (m *ArithResponse) Size() (n int) + func (m *ArithResponse) String() string + func (m *ArithResponse) Unmarshal(dAtA []byte) error + func (m *ArithResponse) XXX_DiscardUnknown() + func (m *ArithResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ArithResponse) XXX_Merge(src proto.Message) + func (m *ArithResponse) XXX_Size() int + func (m *ArithResponse) XXX_Unmarshal(b []byte) error + type EchoRequest struct + Msg string + func (*EchoRequest) Descriptor() ([]byte, []int) + func (*EchoRequest) ProtoMessage() + func (m *EchoRequest) GetMsg() string + func (m *EchoRequest) Marshal() (dAtA []byte, err error) + func (m *EchoRequest) MarshalTo(dAtA []byte) (int, error) + func (m *EchoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *EchoRequest) Reset() + func (m *EchoRequest) Size() (n int) + func (m *EchoRequest) String() string + func (m *EchoRequest) Unmarshal(dAtA []byte) error + func (m *EchoRequest) XXX_DiscardUnknown() + func (m *EchoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *EchoRequest) XXX_Merge(src proto.Message) + func (m *EchoRequest) XXX_Size() int + func (m *EchoRequest) XXX_Unmarshal(b []byte) error + type EchoResponse struct + Msg string + func (*EchoResponse) Descriptor() ([]byte, []int) + func (*EchoResponse) ProtoMessage() + func (m *EchoResponse) GetMsg() string + func (m *EchoResponse) Marshal() (dAtA []byte, err error) + func (m *EchoResponse) MarshalTo(dAtA []byte) (int, error) + func (m *EchoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *EchoResponse) Reset() + func (m *EchoResponse) Size() (n int) + func (m *EchoResponse) String() string + func (m *EchoResponse) Unmarshal(dAtA []byte) error + func (m *EchoResponse) XXX_DiscardUnknown() + func (m *EchoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *EchoResponse) XXX_Merge(src proto.Message) + func (m *EchoResponse) XXX_Size() int + func (m *EchoResponse) XXX_Unmarshal(b []byte) error