Documentation ¶
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
- func (m *PbTest) XXX_DiscardUnknown()
- func (m *PbTest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *PbTest) XXX_Merge(src proto.Message)
- func (m *PbTest) XXX_Size() int
- func (m *PbTest) XXX_Unmarshal(b []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()
func (*PbTest) XXX_DiscardUnknown ¶
func (m *PbTest) XXX_DiscardUnknown()
func (*PbTest) XXX_Marshal ¶
func (*PbTest) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.