Documentation ¶
Overview ¶
Package pb is a generated protocol buffer package.
It is generated from these files:
node.proto
It has these top-level messages:
Node
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NodeType_name = map[int32]string{
0: "branch",
1: "extension",
2: "leaf",
}
View Source
var NodeType_value = map[string]int32{
"branch": 0,
"extension": 1,
"leaf": 2,
}
Functions ¶
This section is empty.
Types ¶
type Node ¶
type Node struct { NodeType NodeType `protobuf:"varint,1,opt,name=nodeType,enum=pb.NodeType" json:"nodeType,omitempty"` Entries [][]byte `protobuf:"bytes,2,rep,name=entries,proto3" json:"entries,omitempty"` Path string `protobuf:"bytes,3,opt,name=path" json:"path,omitempty"` Value []byte `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"` }
func (*Node) Descriptor ¶
func (*Node) GetEntries ¶
func (*Node) GetNodeType ¶
func (*Node) ProtoMessage ¶
func (*Node) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.