searcher

package
v0.0.0-...-2873e01 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DefaultLogger *zap.Logger
	DefaultConfig Config

	DefaultEs        esService
	DefaultApiClient apiClientService
)

Functions

func Healthcheck

func Healthcheck(ctx context.Context) error

Healthcheck for searcher

func Initialize

func Initialize(_ context.Context, log *zap.Logger, c Config) (err error)

Types

type Config

type Config struct {
	Corteza    options.CortezaOpt
	ES         options.EsOpt
	HttpServer options.HttpServerOpt
	Searcher   options.SearcherOpt
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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