Documentation ¶
Index ¶
- Variables
- type Set
- func (*Set) Descriptor() ([]byte, []int)
- func (m *Set) GetFanout() uint32
- func (m *Set) GetSeed() uint32
- func (m *Set) GetVersion() uint32
- func (m *Set) Marshal() (dAtA []byte, err error)
- func (m *Set) MarshalTo(dAtA []byte) (int, error)
- func (*Set) ProtoMessage()
- func (m *Set) Reset()
- func (m *Set) Size() (n int)
- func (m *Set) String() string
- func (m *Set) Unmarshal(dAtA []byte) error
- func (m *Set) XXX_DiscardUnknown()
- func (m *Set) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Set) XXX_Merge(src proto.Message)
- func (m *Set) XXX_Size() int
- func (m *Set) XXX_Unmarshal(b []byte) error
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) GetVersion ¶
func (*Set) ProtoMessage ¶
func (*Set) ProtoMessage()
func (*Set) XXX_DiscardUnknown ¶
func (m *Set) XXX_DiscardUnknown()
func (*Set) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.