pb

package
v0.0.0-...-9ab2669 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

此源码被清华学神尹成大魔王专业翻译分析并修改 尹成QQ77025077 尹成微信18510341407 尹成所在QQ群721929980 尹成邮箱 yinc13@mails.tsinghua.edu.cn 尹成毕业于清华大学,微软区块链领域全球最有价值专家 https://mvp.microsoft.com/zh-cn/PublicProfile/4033620

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目前,库将拒绝处理版本无法识别的条目。
	Version uint32 `protobuf:"varint,1,opt,name=version" json:"version"`
	//有多少链接是子树
	Fanout uint32 `protobuf:"varint,2,opt,name=fanout" json:"fanout"`
	//用于子树选择的哈希种子,随机数
	Seed                 uint32   `protobuf:"fixed32,3,opt,name=seed" json:"seed"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Set) Descriptor

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

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

func (*Set) MarshalTo

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

func (*Set) ProtoMessage

func (*Set) ProtoMessage()

func (*Set) Reset

func (m *Set) Reset()

func (*Set) Size

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

func (*Set) String

func (m *Set) String() string

func (*Set) Unmarshal

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

func (*Set) XXX_DiscardUnknown

func (m *Set) XXX_DiscardUnknown()

func (*Set) XXX_Marshal

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

func (*Set) XXX_Merge

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

func (*Set) XXX_Size

func (m *Set) XXX_Size() int

func (*Set) XXX_Unmarshal

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