package
Version:
v0.0.0-...-b1d3944
Opens a new window with list of versions in this module.
Published: Dec 27, 2016
License: BSD-2-Clause
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type MemIndex struct {
Keys map[bits.K]struct{}
}
MemIndex uses an in-memory hash table to store key information
NewMemIndex creates an empty index
Has returns whether a key is contained in this index
Handle allows this index to be used as a KeyHandler
in this case each key 'k' is added uniquely to the index
Source Files
¶
Click to show internal directories.
Click to hide internal directories.