Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var SupportedKeyFormats = []string{"b64-textlines", "mem"}
SupportedKeyFormats holds identifiers for all supported stores
Functions ¶
func CreateKeyReader ¶
CreateKeyReader attempts to create a specific writer
Types ¶
type MemIterator ¶
MemIterator stores key in memory for iteration. It also conveniently implements the KeyIndex and KeyHandler interface
func NewPopulatedMemIterator ¶
func NewPopulatedMemIterator(keys []bits.K) *MemIterator
NewPopulatedMemIterator creates a preopulated iterator
type TextLineKeyReader ¶
type TextLineKeyReader struct {
// contains filtered or unexported fields
}
TextLineKeyReader writes keys in encoded, each on a new line
func (*TextLineKeyReader) Read ¶
func (kr *TextLineKeyReader) Read() (k bits.K, err error)
Read implementes key reader
func (*TextLineKeyReader) Reset ¶
func (kr *TextLineKeyReader) Reset()
Reset is not possible for this reader
type TextLineKeyWriter ¶
type TextLineKeyWriter struct {
// contains filtered or unexported fields
}
TextLineKeyWriter writes keys in encoded, each on a new line
Click to show internal directories.
Click to hide internal directories.