asym

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 26, 2021 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthAsym        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowAsym          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupAsym = fmt.Errorf("proto: unexpected end of group")
)

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 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) MarshalToSizedBuffer

func (m *M) MarshalToSizedBuffer(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

func (*M) XXX_DiscardUnknown

func (m *M) XXX_DiscardUnknown()

func (*M) XXX_Marshal

func (m *M) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*M) XXX_Merge

func (m *M) XXX_Merge(src proto.Message)

func (*M) XXX_Size

func (m *M) XXX_Size() int

func (*M) XXX_Unmarshal

func (m *M) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (MyType) DisabledMarshal

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

TODO: rename this to Marshal once https://github.com/gogo/protobuf/issues/388 is fixed

func (*MyType) Equal

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

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

func (*MyType) XXX_DiscardUnknown

func (m *MyType) XXX_DiscardUnknown()

func (*MyType) XXX_Marshal

func (m *MyType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MyType) XXX_Merge

func (m *MyType) XXX_Merge(src proto.Message)

func (*MyType) XXX_Size

func (m *MyType) XXX_Size() int

func (*MyType) XXX_Unmarshal

func (m *MyType) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL