package
2.5.0
Repository: https://github.com/ethersphere/bee.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
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

No description provided by the author
IdentityAddress returns the internally used address for the chunk since the single owner chunk address is not a unique identifier for the chunk, but hashing the soc address and the wrapped chunk address is.

# Constants

No description provided by the author
ChunkSent is used by the pusher component to notify about successful push of chunk from the node.
ChunkStored is used by the pusher component to notify that the uploader node is the closest node and has stored the chunk.
ChunkSynced is used by the pusher component to notify that the chunk is synced to the network.
KeyAscendingOrder indicates a forward iteration based on ordering of keys.
KeyDescendingOrder denotes the backward iteration based on ordering of keys.
QueryItem indicates interest in the whole Item.
QueryItemID indicates interest in the Result.ID.
QueryItemSize indicates interest in the Result.Size.

# Variables

ErrBatchCommitted is returned by Batch.Commit call when a batch has already been committed.
ErrInvalidQuery indicates that the query is not a valid query.
ErrInvalidQuery indicates that the query is not a valid query.
ErrInvalidQuery indicates that the query is not a valid query.
No description provided by the author
ErrInvalidQuery indicates that the query is not a valid query.
No description provided by the author

# Structs

Descriptor holds information required for Pull syncing.
Query denotes the iteration attributes.
Result represents the item returned by the read operation, which returns the item as the result.

# Interfaces

Batch provides set of operations that are batched.
Batcher specifies a constructor for creating new batches.
BatchStore is a store that supports batching of Writer method calls.
ChunkGetterDeleter is a storage that provides only read and delete operations for chunks.
No description provided by the author
Cloner makes a deep copy of the Item.
Deleter is the interface that wraps the basic Delete method.
Getter is the interface that wraps the basic Get method.
Hasser is the interface that wraps the basic Has method.
No description provided by the author
Item represents an item which can be used in the Store.
Key represents the item identifiers.
Marshaler is the interface implemented by types that can marshal themselves into valid Item.
No description provided by the author
PushReporter is used to report chunk state.
No description provided by the author
Putter is the interface that wraps the basic Put method.
Reader groups methods that read from the store.
No description provided by the author
Recoverer allows store to recover from a failure when the transaction was not committed or rolled back.
Replacer is the interface that wraps the basic Replace method.
No description provided by the author
No description provided by the author
StateStorer is a storage interface for storing and retrieving key/value pairs.
StateStorerCleaner is the interface for cleaning the store.
StateStorerManager defines all external methods of the state storage.
Store contains the methods required for the Data Abstraction Layer.
Unmarshaler is the interface implemented by types that can unmarshal a JSON description of themselves.
Writer groups methods that change the state of the store.

# Type aliases

No description provided by the author
Filter subtracts entries from the iteration.
No description provided by the author
No description provided by the author
IterateFn iterates through the Items of the store in the Key.Namespace.
Order represents order of the iteration.
PutterFunc type is an adapter to allow the use of ChunkStore as Putter interface.
QueryItemProperty tells the Query which Item property should be loaded from the store to the result.
StateIterFunc is used when iterating through StateStorer key/value pairs.