pb

package
v0.4.19-rc1 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

Functions

This section is empty.

Types

type Set

type Set struct {
	// 1 for now, library will refuse to handle entries with an unrecognized version.
	Version uint32 `protobuf:"varint,1,opt,name=version" json:"version"`
	// how many of the links are subtrees
	Fanout uint32 `protobuf:"varint,2,opt,name=fanout" json:"fanout"`
	// hash seed for subtree selection, a random number
	Seed uint32 `protobuf:"fixed32,3,opt,name=seed" json:"seed"`
}

func (*Set) Descriptor added in v0.4.18

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

func (*Set) GetFanout

func (m *Set) GetFanout() uint32

func (*Set) GetSeed

func (m *Set) GetSeed() uint32

func (*Set) GetVersion

func (m *Set) GetVersion() uint32

func (*Set) Marshal added in v0.4.18

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

func (*Set) MarshalTo added in v0.4.18

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

func (*Set) ProtoMessage

func (*Set) ProtoMessage()

func (*Set) Reset

func (m *Set) Reset()

func (*Set) Size added in v0.4.18

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

func (*Set) String

func (m *Set) String() string

func (*Set) Unmarshal added in v0.4.18

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

func (*Set) XXX_DiscardUnknown added in v0.4.18

func (m *Set) XXX_DiscardUnknown()

func (*Set) XXX_Marshal added in v0.4.18

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

func (*Set) XXX_Merge added in v0.4.18

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

func (*Set) XXX_Size added in v0.4.18

func (m *Set) XXX_Size() int

func (*Set) XXX_Unmarshal added in v0.4.18

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

Jump to

Keyboard shortcuts

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