package
1.0.0-rc.3
Repository: https://github.com/iotaledger/hive.go.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
Package mapdb provides a map implementation of a key value store.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

Copy copies the content from the source to the target KVStore.
CopyBatched copies the content from the source to the target KVStore in batches.
GetIterDirection returns the direction to use for an iteration.
NewBatchedWriter creates a new BatchedWriter instance.
NewSequence initiates a new sequence object backed by the provided store.
No description provided by the author
WithBatchSize defines the maximum amount of elements in the batch.
WithBatchTimeout defines the timeout for collecting elements for the batch.
WithQueueSize defines the size of the batch queue.

# Constants

No description provided by the author
No description provided by the author
StoreVersionNone is used to load an existing store without a version check (e.g.

# Variables

No description provided by the author
ErrKeyNotFound is returned when an op.
ErrStoreClosed is returned when an op accesses the kvstore but it was already closed.
No description provided by the author
No description provided by the author

# Structs

BatchCollector is used to collect objects that should be written.
BatchedWriter persists BatchWriteObjects in batches to a KVStore.
Options define options for the BatchedWriter.
Sequence represents a simple integer sequence backed by a KVStore.
No description provided by the author

# Interfaces

BatchedMutations represents batched mutations to the storage.
BatchWriteObject is an object that can be persisted to the KVStore in batches using the BatchedWriter.
KVStore persists, deletes and retrieves data.

# Type aliases

IteratorKeyConsumerFunc is a consumer function for an iterating function which iterates only over keys.
IteratorKeyValueConsumerFunc is a consumer function for an iterating function which iterates over keys and values.
IterDirection specifies the direction for iterations.
No description provided by the author
No description provided by the author
Option is a function setting a BatchedWriter option.
No description provided by the author
No description provided by the author
No description provided by the author