Documentation ¶
Index ¶
- type Tree
- func (tree *Tree) DebugGetNode(ptr uint64) []byte
- func (tree *Tree) Delete(key []byte) bool
- func (tree *Tree) Get(key []byte) ([]byte, bool)
- func (tree *Tree) Insert(key []byte, val []byte)
- func (tree *Tree) NewTreeCursor() *TreeCursor
- func (tree *Tree) Root() uint64
- func (tree *Tree) SetRoot(in uint64)
- type TreeCursor
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Tree ¶
type Tree struct {
// contains filtered or unexported fields
}
func (*Tree) DebugGetNode ¶
func (*Tree) NewTreeCursor ¶
func (tree *Tree) NewTreeCursor() *TreeCursor
type TreeCursor ¶
type TreeCursor struct {
// contains filtered or unexported fields
}
func (*TreeCursor) Key ¶
func (c *TreeCursor) Key() []byte
func (*TreeCursor) Next ¶
func (c *TreeCursor) Next() ([]byte, []byte)
func (*TreeCursor) SeekToFirst ¶
func (c *TreeCursor) SeekToFirst() ([]byte, []byte)
func (*TreeCursor) Value ¶
func (c *TreeCursor) Value() []byte
Click to show internal directories.
Click to hide internal directories.