Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BTreeFactory ¶
BTreeFactory generates a Cache storage implementation
func CacheFactory ¶
CacheFactory generates a Cache storage implementation
func SyncBTreeFactory ¶
SyncBTreeFactory generates a concurrently safe BTree storage implementation
func SyncCacheFactory ¶
SyncCacheFactory generates a SyncCache storage implementation
func SyncTrieFactory ¶
SyncTrieFactory generates a SyncTrie storage implementation
func TrieFactory ¶
TrieFactory generates a Trie storage implementation
Types ¶
type Btree ¶
Btree is a btree storage implementation
type Cache ¶
type Cache struct {
// contains filtered or unexported fields
}
Cache is an in memory struct implementing the storage interface it s the most efficient one in terms of performance and is used for a baseline regarding tests
type SyncBTree ¶
SyncBTree implements a storage based on a Btree data struct
type SyncCache ¶
type SyncCache struct {
// contains filtered or unexported fields
}
SyncCache is an in memory struct implementing the storage interface this implementation is thread-safe
type SyncTrie ¶
SyncTrie is an in memory struct implementing the storage interface it s the most efficient one in terms of performance and is used for a baseline regarding tests
type Trie ¶
type Trie struct {
// contains filtered or unexported fields
}
Trie is an in memory struct implementing the storage interface