Update vendor/

This commit is contained in:
Ettore Di Giacinto
2019-10-29 17:37:49 +01:00
committed by Ettore Di Giacinto
parent 8ca6051a04
commit 9d0dc601b7
374 changed files with 103281 additions and 37 deletions

14
vendor/github.com/asdine/storm/index/indexes.go generated vendored Normal file
View File

@@ -0,0 +1,14 @@
// Package index contains Index engines used to store values and their corresponding IDs
package index
// Index interface
type Index interface {
Add(value []byte, targetID []byte) error
Remove(value []byte) error
RemoveID(id []byte) error
Get(value []byte) []byte
All(value []byte, opts *Options) ([][]byte, error)
AllRecords(opts *Options) ([][]byte, error)
Range(min []byte, max []byte, opts *Options) ([][]byte, error)
Prefix(prefix []byte, opts *Options) ([][]byte, error)
}