fuzz

package
v0.0.30 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Index

type Index struct {
	Data []map[string]any

	*param.Params
	// contains filtered or unexported fields
}

func New

func New(cfg *param.Params) *Index

func Open

func Open(cfg *param.Params) *Index

func (*Index) Batch

func (idx *Index) Batch(data []map[string]any) error

func (*Index) Index

func (idx *Index) Index(_ string, data map[string]any) error

func (*Index) Len

func (idx *Index) Len() int

func (*Index) Search

func (idx *Index) Search(query string) ([]map[string]any, error)

func (*Index) String

func (idx *Index) String(i int) string

Jump to

Keyboard shortcuts

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