bleve

package
v0.0.0-...-60b8695 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2021 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	SearchPaths []string `name:"search-paths" description:"Search paths for the Device Repository index files"`
}

Config is configuration for bleveStore.

func (Config) Initialize

func (c Config) Initialize(ctx context.Context, lorawanDevicesPath string, overwrite bool) error

Initialize fetches the Device Repository package file and generates index files.

func (Config) NewStore

func (c Config) NewStore(ctx context.Context) (store.Store, error)

NewStore returns a new Device Repository store with indexing capabilities (using bleve).

Jump to

Keyboard shortcuts

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