Documentation ¶
Overview ¶
Package pb is a generated protocol buffer package.
It is generated from these files:
arith_service.proto
It has these top-level messages:
ProtoArgs ProtoReply
Index ¶
- Variables
- type ProtoArgs
- func (*ProtoArgs) Descriptor() ([]byte, []int)
- func (m *ProtoArgs) GetA() int32
- func (m *ProtoArgs) GetB() int32
- func (m *ProtoArgs) Marshal() (dAtA []byte, err error)
- func (m *ProtoArgs) MarshalTo(dAtA []byte) (int, error)
- func (*ProtoArgs) ProtoMessage()
- func (m *ProtoArgs) Reset()
- func (m *ProtoArgs) Size() (n int)
- func (m *ProtoArgs) String() string
- func (m *ProtoArgs) Unmarshal(dAtA []byte) error
- type ProtoReply
- func (*ProtoReply) Descriptor() ([]byte, []int)
- func (m *ProtoReply) GetC() int32
- func (m *ProtoReply) Marshal() (dAtA []byte, err error)
- func (m *ProtoReply) MarshalTo(dAtA []byte) (int, error)
- func (*ProtoReply) ProtoMessage()
- func (m *ProtoReply) Reset()
- func (m *ProtoReply) Size() (n int)
- func (m *ProtoReply) String() string
- func (m *ProtoReply) Unmarshal(dAtA []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthArithService = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowArithService = fmt.Errorf("proto: integer overflow") )
Functions ¶
This section is empty.
Types ¶
type ProtoArgs ¶
type ProtoArgs struct { A int32 `protobuf:"varint,1,opt,name=A,proto3" json:"A,omitempty"` B int32 `protobuf:"varint,2,opt,name=B,proto3" json:"B,omitempty"` }
func (*ProtoArgs) Descriptor ¶
func (*ProtoArgs) ProtoMessage ¶
func (*ProtoArgs) ProtoMessage()
type ProtoReply ¶
type ProtoReply struct {
C int32 `protobuf:"varint,1,opt,name=C,proto3" json:"C,omitempty"`
}
func (*ProtoReply) Descriptor ¶
func (*ProtoReply) Descriptor() ([]byte, []int)
func (*ProtoReply) GetC ¶
func (m *ProtoReply) GetC() int32
func (*ProtoReply) Marshal ¶
func (m *ProtoReply) Marshal() (dAtA []byte, err error)
func (*ProtoReply) ProtoMessage ¶
func (*ProtoReply) ProtoMessage()
func (*ProtoReply) Reset ¶
func (m *ProtoReply) Reset()
func (*ProtoReply) Size ¶
func (m *ProtoReply) Size() (n int)
func (*ProtoReply) String ¶
func (m *ProtoReply) String() string
func (*ProtoReply) Unmarshal ¶
func (m *ProtoReply) Unmarshal(dAtA []byte) error
Click to show internal directories.
Click to hide internal directories.