internal

package
v0.0.0-...-168a2c3 Latest Latest
Warning

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

Go to latest
Published: May 30, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

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) Descriptor() ([]byte, []int)

func (*FullNode) GetChildren

func (m *FullNode) GetChildren() []*Node

func (*FullNode) ProtoMessage

func (*FullNode) ProtoMessage()

func (*FullNode) Reset

func (m *FullNode) Reset()

func (*FullNode) String

func (m *FullNode) String() string

func (*FullNode) XXX_DiscardUnknown

func (m *FullNode) XXX_DiscardUnknown()

func (*FullNode) XXX_Marshal

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

func (*FullNode) XXX_Merge

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

func (*FullNode) XXX_Size

func (m *FullNode) XXX_Size() int

func (*FullNode) XXX_Unmarshal

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

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) Descriptor() ([]byte, []int)

func (*Node) GetFull

func (m *Node) GetFull() *FullNode

func (*Node) GetHash

func (m *Node) GetHash() []byte

func (*Node) GetKind

func (m *Node) GetKind() isNode_Kind

func (*Node) GetShort

func (m *Node) GetShort() *ShortNode

func (*Node) GetValue

func (m *Node) GetValue() []byte

func (*Node) ProtoMessage

func (*Node) ProtoMessage()

func (*Node) Reset

func (m *Node) Reset()

func (*Node) String

func (m *Node) String() string

func (*Node) XXX_DiscardUnknown

func (m *Node) XXX_DiscardUnknown()

func (*Node) XXX_Marshal

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

func (*Node) XXX_Merge

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

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_Size

func (m *Node) XXX_Size() int

func (*Node) XXX_Unmarshal

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

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) Descriptor() ([]byte, []int)

func (*ShortNode) GetKey

func (m *ShortNode) GetKey() []byte

func (*ShortNode) GetVal

func (m *ShortNode) GetVal() *Node

func (*ShortNode) ProtoMessage

func (*ShortNode) ProtoMessage()

func (*ShortNode) Reset

func (m *ShortNode) Reset()

func (*ShortNode) String

func (m *ShortNode) String() string

func (*ShortNode) XXX_DiscardUnknown

func (m *ShortNode) XXX_DiscardUnknown()

func (*ShortNode) XXX_Marshal

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

func (*ShortNode) XXX_Merge

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

func (*ShortNode) XXX_Size

func (m *ShortNode) XXX_Size() int

func (*ShortNode) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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