MCPcopy Create free account

hub / github.com/peterbourgon/diskv / types & classes

Types & classes17 in github.com/peterbourgon/diskv

FuncTypeAdvancedTransformFunction
AdvancedTransformFunction transforms a key into a PathKey. A PathKey contains a slice of strings, where each element in the slice represents a direct
diskv.go:63
StructBTreeIndex
BTreeIndex is an implementation of the Index interface using google/btree.
index.go:34
StructBrokenReader
basic_test.go:259
InterfaceCompression
Compression is an interface that Diskv uses to implement compression of data. Writer takes a destination io.Writer and returns a WriteCloser that comp
compression.go:16
StructCrashingReader
basic_test.go:307
StructDiskv
Diskv implements the Diskv interface. You shouldn't construct Diskv structures directly; instead, use the New constructor.
diskv.go:94
InterfaceIndex
Index is a generic interface for things that can provide an ordered list of keys.
index.go:11
FuncTypeInverseTransformFunction
InverseTransformFunction takes a PathKey and converts it back to a Diskv key. In effect, it's the opposite of an AdvancedTransformFunction.
diskv.go:67
FuncTypeLessFunction
LessFunction is used to initialize an Index of keys in a specific order.
index.go:19
StructOptions
Options define a set of properties that dictate Diskv behavior. All values are optional.
diskv.go:71
StructPathKey
PathKey represents a string key that has been transformed to a directory and file name where the content will eventually be stored
diskv.go:28
FuncTypeTransformFunction
TransformFunction transforms a key into a slice of strings, with each element in the slice representing a directory in the file path where the key's e
diskv.go:49
StructbtreeString
btreeString is a custom data type that satisfies the BTree Less interface, making the strings it wraps sortable by the BTree package.
index.go:23
StructclosingReader
closingReader provides a Reader that automatically closes the embedded ReadCloser when it reaches EOF
diskv.go:429
StructgenericCompression
compression.go:53
StructnopWriteCloser
nopWriteCloser wraps an io.Writer and provides a no-op Close method to satisfy the io.WriteCloser interface.
diskv.go:724
Structsiphon
siphon is like a TeeReader: it copies all data read through it to an internal buffer, and moves that buffer to the cache at EOF.
diskv.go:445