Documentation ¶
Index ¶
Constants ¶
View Source
const (
// DefaultBufferSize is the default buffer size.
DefaultBufferSize = 1024
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Interface ¶
Interface represents the basic interface to put and get tokens from an index.
func NewMemoryMap ¶
func NewMemoryMap() Interface
NewMemoryMap create a new in memory index, that uses a simple map of Entry slices for storage.
Click to show internal directories.
Click to hide internal directories.