Documentation ¶
Overview ¶
Package pb is a generated protocol buffer package.
It is generated from these files:
test.proto
It has these top-level messages:
PbTest
Index ¶
- Variables
- type PbTest
- func (*PbTest) Descriptor() ([]byte, []int)
- func (m *PbTest) GetA() int32
- func (m *PbTest) GetB() int32
- func (m *PbTest) Marshal() (dAtA []byte, err error)
- func (m *PbTest) MarshalTo(dAtA []byte) (int, error)
- func (*PbTest) ProtoMessage()
- func (m *PbTest) Reset()
- func (m *PbTest) Size() (n int)
- func (m *PbTest) String() string
- func (m *PbTest) Unmarshal(dAtA []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthTest = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTest = fmt.Errorf("proto: integer overflow") )
Functions ¶
This section is empty.
Types ¶
type PbTest ¶
type PbTest 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 (*PbTest) Descriptor ¶
func (*PbTest) ProtoMessage ¶
func (*PbTest) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.