Documentation ¶
Index ¶
Constants ¶
View Source
const Name = "moss"
Variables ¶
View Source
var RegistryCollectionOptions = map[string]moss.CollectionOptions{}
RegistryCollectionOptions should be treated as read-only after process init()'ialization.
Functions ¶
func New ¶
New initializes a moss storage with values from the optional config["mossCollectionOptions"] (a JSON moss.CollectionOptions). Next, values from the RegistryCollectionOptions, named by the optional config["mossCollectionOptionsName"], take precedence. Finally, base case defaults are taken from moss.DefaultCollectionOptions.
Types ¶
type Reader ¶
type Reader struct {
// contains filtered or unexported fields
}
func (*Reader) PrefixIterator ¶
func (r *Reader) PrefixIterator(k []byte) store.KVIterator
func (*Reader) RangeIterator ¶
func (r *Reader) RangeIterator(start, end []byte) store.KVIterator
type Writer ¶
type Writer struct {
// contains filtered or unexported fields
}
func (*Writer) NewBatchEx ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.