asym - ActiveState ActiveGo 1.8
...

Package asym

import "github.com/gogo/protobuf/test/asymetric-issue125"
Overview
Index

Overview ▾

Package asym is a generated protocol buffer package.

It is generated from these files:

asym.proto

It has these top-level messages:

M
MyType

Variables

var (
    ErrInvalidLengthAsym = fmt.Errorf("proto: negative length found during unmarshaling")
    ErrIntOverflowAsym   = fmt.Errorf("proto: integer overflow")
)

type M

type M struct {
    Arr              []MyType `protobuf:"bytes,1,rep,name=arr,customtype=MyType" json:"arr"`
    XXX_unrecognized []byte   `json:"-"`
}

func NewPopulatedM

func NewPopulatedM(r randyAsym, easy bool) *M

func (*M) Descriptor

func (*M) Descriptor() ([]byte, []int)

func (*M) Equal

func (this *M) Equal(that interface{}) bool

func (*M) Marshal

func (m *M) Marshal() (dAtA []byte, err error)

func (*M) MarshalTo

func (m *M) MarshalTo(dAtA []byte) (int, error)

func (*M) ProtoMessage

func (*M) ProtoMessage()

func (*M) Reset

func (m *M) Reset()

func (*M) Size

func (m *M) Size() (n int)

func (*M) String

func (m *M) String() string

func (*M) Unmarshal

func (m *M) Unmarshal(dAtA []byte) error

func (*M) VerboseEqual

func (this *M) VerboseEqual(that interface{}) error

type MyType

type MyType struct {
    XXX_unrecognized []byte `json:"-"`
}

func NewPopulatedMyType

func NewPopulatedMyType(r randyAsym) *MyType

func (*MyType) Descriptor

func (*MyType) Descriptor() ([]byte, []int)

func (*MyType) Equal

func (this *MyType) Equal(that interface{}) bool

func (MyType) Marshal

func (m MyType) Marshal() (data []byte, err error)

func (*MyType) MarshalTo

func (m *MyType) MarshalTo(data []byte) (int, error)

func (*MyType) ProtoMessage

func (*MyType) ProtoMessage()

func (*MyType) Reset

func (m *MyType) Reset()

func (*MyType) Size

func (m *MyType) Size() (n int)

func (*MyType) String

func (m *MyType) String() string

func (*MyType) Unmarshal

func (m *MyType) Unmarshal(dAtA []byte) error

func (*MyType) VerboseEqual

func (this *MyType) VerboseEqual(that interface{}) error