imported

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2018 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthA = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowA   = fmt.Errorf("proto: integer overflow")
)

Functions

This section is empty.

Types

type A

type A struct {
	F1                   string   `protobuf:"bytes,1,opt,name=f1,proto3" json:"f1,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func NewPopulatedA

func NewPopulatedA(r randyA, easy bool) *A

func (*A) Descriptor

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

func (*A) Equal

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

func (*A) GetF1

func (m *A) GetF1() string

func (*A) Marshal

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

func (*A) MarshalTo

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

func (*A) ProtoMessage

func (*A) ProtoMessage()

func (*A) Reset

func (m *A) Reset()

func (*A) Size

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

func (*A) String

func (m *A) String() string

func (*A) Unmarshal

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

func (*A) XXX_DiscardUnknown

func (m *A) XXX_DiscardUnknown()

func (*A) XXX_Marshal

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

func (*A) XXX_Merge

func (dst *A) XXX_Merge(src proto.Message)

func (*A) XXX_Size

func (m *A) XXX_Size() int

func (*A) XXX_Unmarshal

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

type B

type B struct {
	A
}

func NewPopulatedB

func NewPopulatedB(r randyA) *B

func (B) Equal

func (b B) Equal(other B) bool

func (B) Marshal

func (b B) Marshal() ([]byte, error)

func (B) MarshalJSON

func (b B) MarshalJSON() ([]byte, error)

func (B) Size

func (b B) Size() int

func (*B) Unmarshal

func (b *B) Unmarshal(data []byte) error

func (*B) UnmarshalJSON

func (b *B) UnmarshalJSON(data []byte) error

Jump to

Keyboard shortcuts

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