proto

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2018 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

Functions

This section is empty.

Types

type Foo

type Foo struct {
	Bar                  *uint64  `protobuf:"varint,1,req,name=bar" json:"bar,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func NewPopulatedFoo

func NewPopulatedFoo(r randyProto, easy bool) *Foo

func (*Foo) Descriptor

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

func (*Foo) Equal

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

func (*Foo) GetBar

func (m *Foo) GetBar() uint64

func (*Foo) ProtoMessage

func (*Foo) ProtoMessage()

func (*Foo) Reset

func (m *Foo) Reset()

func (*Foo) String

func (m *Foo) String() string

func (*Foo) Unmarshal

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

func (*Foo) XXX_DiscardUnknown added in v1.1.0

func (m *Foo) XXX_DiscardUnknown()

func (*Foo) XXX_Marshal added in v1.1.0

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

func (*Foo) XXX_Merge added in v1.1.0

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

func (*Foo) XXX_Size added in v1.1.0

func (m *Foo) XXX_Size() int

func (*Foo) XXX_Unmarshal added in v1.1.0

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

Jump to

Keyboard shortcuts

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