index

package
v0.0.0-...-9a89ba0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 1, 2014 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNotFound = errors.New("Record is not found")
)

Functions

This section is empty.

Types

type FileIndex

type FileIndex struct {
	// contains filtered or unexported fields
}

func NewFileIndex

func NewFileIndex(path string, fs boshsys.FileSystem) FileIndex

func (FileIndex) Find

func (ri FileIndex) Find(key interface{}, entry interface{}) error

func (FileIndex) Save

func (ri FileIndex) Save(key interface{}, entry interface{}) error

type Index

type Index interface {
	Find(interface{}, interface{}) error
	Save(interface{}, interface{}) error
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL