memdb

package
v0.0.0-...-83a2466 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2016 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewKV

func NewKV(k, v, r int) *iKV

func NewNode

func NewNode(nn int, opt Options) *iNode

func NewNs

func NewNs() *iNS

func NewdbIter

func NewdbIter(ns *iNS) *dbIter

Types

type BFOptions

type BFOptions struct {
	// contains filtered or unexported fields
}

type MemDB

type MemDB struct {
	// contains filtered or unexported fields
}

func (*MemDB) Create

func (db *MemDB) Create(path string, opt Options) *MemDB

type Options

type Options struct {
	AllocStepIndex     uint32
	AllocStepKeys      uint32
	AllocStepVals      uint32
	AllocStepReserveds uint32
	AllocStepKeysData  uint32
	AllocStepValsData  uint32
	NodesPeerNamespace uint32
	FillPercent        float64
	BF                 *boom.StableBloomFilter
	BFOpts             BFOptions
}

func DefaultOptions

func DefaultOptions() Options

Jump to

Keyboard shortcuts

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