lua

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MapConfig

func MapConfig(filePath, varname string, st interface{}) error

Types

type InsertDataInterceptor added in v0.1.1

type InsertDataInterceptor = func(*payload.Insert_Request) (
	*payload.Insert_Request,
	error,
)

func NewInsertDataInterceptorFn added in v0.1.1

func NewInsertDataInterceptorFn(idi *LFunction) InsertDataInterceptor

type LFunction

type LFunction = lua.LFunction

type RetryConfig added in v0.1.1

type RetryConfig struct {
	Enabled           bool
	MaxRetries        int
	NextNumMultiplier int
}

type SearchQueryInterceptor added in v0.1.1

type SearchQueryInterceptor = func(*payload.Search_Request) (
	*payload.Search_Request,
	error,
)

func NewSearchQueryInterceptorFn added in v0.1.1

func NewSearchQueryInterceptorFn(sqi *LFunction) SearchQueryInterceptor

type SearchResultInterceptor added in v0.1.1

type SearchResultInterceptor = func(
	*payload.Search_Config,
	[]*payload.Object_Distance,
) (
	[]*payload.Object_Distance,
	*RetryConfig,
	error,
)

func NewSearchResultInterceptorFn added in v0.1.1

func NewSearchResultInterceptorFn(sri *LFunction) SearchResultInterceptor

Jump to

Keyboard shortcuts

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