Documentation ¶
Index ¶
- Variables
- type M
- func (*M) Descriptor() ([]byte, []int)
- func (this *M) Equal(that interface{}) bool
- func (m *M) Marshal() (dAtA []byte, err error)
- func (m *M) MarshalTo(dAtA []byte) (int, error)
- func (*M) ProtoMessage()
- func (m *M) Reset()
- func (m *M) Size() (n int)
- func (m *M) String() string
- func (m *M) Unmarshal(dAtA []byte) error
- func (this *M) VerboseEqual(that interface{}) error
- func (m *M) XXX_DiscardUnknown()
- func (m *M) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *M) XXX_Merge(src proto.Message)
- func (m *M) XXX_Size() int
- func (m *M) XXX_Unmarshal(b []byte) error
- type MyType
- func (*MyType) Descriptor() ([]byte, []int)
- func (m MyType) DisabledMarshal() (data []byte, err error)
- func (this *MyType) Equal(that interface{}) bool
- func (m *MyType) MarshalTo(data []byte) (int, error)
- func (*MyType) ProtoMessage()
- func (m *MyType) Reset()
- func (m *MyType) Size() (n int)
- func (m *MyType) String() string
- func (m *MyType) Unmarshal(dAtA []byte) error
- func (this *MyType) VerboseEqual(that interface{}) error
- func (m *MyType) XXX_DiscardUnknown()
- func (m *MyType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *MyType) XXX_Merge(src proto.Message)
- func (m *MyType) XXX_Size() int
- func (m *MyType) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthAsym = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowAsym = fmt.Errorf("proto: integer overflow") )
Functions ¶
This section is empty.
Types ¶
type M ¶
type M struct { Arr []MyType `protobuf:"bytes,1,rep,name=arr,customtype=MyType" json:"arr"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewPopulatedM ¶
func (*M) Descriptor ¶
func (*M) ProtoMessage ¶
func (*M) ProtoMessage()
func (*M) VerboseEqual ¶
func (*M) XXX_DiscardUnknown ¶
func (m *M) XXX_DiscardUnknown()
func (*M) XXX_Unmarshal ¶
type MyType ¶
type MyType struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewPopulatedMyType ¶
func NewPopulatedMyType(r randyAsym) *MyType
func (*MyType) Descriptor ¶
func (MyType) DisabledMarshal ¶
TODO: rename this to Marshal once https://github.com/gogo/protobuf/issues/388 is fixed
func (*MyType) ProtoMessage ¶
func (*MyType) ProtoMessage()
func (*MyType) VerboseEqual ¶
func (*MyType) XXX_DiscardUnknown ¶
func (m *MyType) XXX_DiscardUnknown()
func (*MyType) XXX_Marshal ¶
func (*MyType) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.