Documentation ¶
Index ¶
- type FullNode
- func (*FullNode) Descriptor() ([]byte, []int)
- func (m *FullNode) GetChildren() []*Node
- func (*FullNode) ProtoMessage()
- func (m *FullNode) Reset()
- func (m *FullNode) String() string
- func (m *FullNode) XXX_DiscardUnknown()
- func (m *FullNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FullNode) XXX_Merge(src proto.Message)
- func (m *FullNode) XXX_Size() int
- func (m *FullNode) XXX_Unmarshal(b []byte) error
- type Node
- func (*Node) Descriptor() ([]byte, []int)
- func (m *Node) GetFull() *FullNode
- func (m *Node) GetHash() []byte
- func (m *Node) GetKind() isNode_Kind
- func (m *Node) GetShort() *ShortNode
- func (m *Node) GetValue() []byte
- func (*Node) ProtoMessage()
- func (m *Node) Reset()
- func (m *Node) String() string
- func (m *Node) XXX_DiscardUnknown()
- func (m *Node) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Node) XXX_Merge(src proto.Message)
- func (*Node) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *Node) XXX_Size() int
- func (m *Node) XXX_Unmarshal(b []byte) error
- type Node_Full
- type Node_Hash
- type Node_Short
- type Node_Value
- type ShortNode
- func (*ShortNode) Descriptor() ([]byte, []int)
- func (m *ShortNode) GetKey() []byte
- func (m *ShortNode) GetVal() *Node
- func (*ShortNode) ProtoMessage()
- func (m *ShortNode) Reset()
- func (m *ShortNode) String() string
- func (m *ShortNode) XXX_DiscardUnknown()
- func (m *ShortNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ShortNode) XXX_Merge(src proto.Message)
- func (m *ShortNode) XXX_Size() int
- func (m *ShortNode) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FullNode ¶
type FullNode struct { Children []*Node `protobuf:"bytes,1,rep,name=Children,proto3" json:"Children,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*FullNode) Descriptor ¶
func (*FullNode) GetChildren ¶
func (*FullNode) ProtoMessage ¶
func (*FullNode) ProtoMessage()
func (*FullNode) XXX_DiscardUnknown ¶
func (m *FullNode) XXX_DiscardUnknown()
func (*FullNode) XXX_Marshal ¶
func (*FullNode) XXX_Unmarshal ¶
type Node ¶
type Node struct { // Types that are valid to be assigned to Kind: // *Node_Short // *Node_Full // *Node_Hash // *Node_Value Kind isNode_Kind `protobuf_oneof:"Kind"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Node) Descriptor ¶
func (*Node) ProtoMessage ¶
func (*Node) ProtoMessage()
func (*Node) XXX_DiscardUnknown ¶
func (m *Node) XXX_DiscardUnknown()
func (*Node) XXX_OneofFuncs ¶
func (*Node) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*Node) XXX_Unmarshal ¶
type Node_Full ¶
type Node_Full struct {
Full *FullNode `protobuf:"bytes,2,opt,name=Full,proto3,oneof"`
}
type Node_Hash ¶
type Node_Hash struct {
Hash []byte `protobuf:"bytes,3,opt,name=Hash,proto3,oneof"`
}
type Node_Short ¶
type Node_Short struct {
Short *ShortNode `protobuf:"bytes,1,opt,name=Short,proto3,oneof"`
}
type Node_Value ¶
type Node_Value struct {
Value []byte `protobuf:"bytes,4,opt,name=Value,proto3,oneof"`
}
type ShortNode ¶
type ShortNode struct { Key []byte `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"` Val *Node `protobuf:"bytes,2,opt,name=Val,proto3" json:"Val,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ShortNode) Descriptor ¶
func (*ShortNode) ProtoMessage ¶
func (*ShortNode) ProtoMessage()
func (*ShortNode) XXX_DiscardUnknown ¶
func (m *ShortNode) XXX_DiscardUnknown()
func (*ShortNode) XXX_Marshal ¶
func (*ShortNode) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.