tokens

package
v1.24.18 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2024 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Params

type Params struct {
	Limit      *int     // optional parameter
	Certainty  *float64 // optional parameter
	Distance   *float64 // optional parameter
	Properties []string
}

func (Params) GetCertainty

func (n Params) GetCertainty() *float64

func (Params) GetLimit

func (n Params) GetLimit() *int

func (Params) GetProperties

func (n Params) GetProperties() []string

type TokenProvider

type TokenProvider struct {
	// contains filtered or unexported fields
}

func New

func New(ner nerClient) *TokenProvider

func (*TokenProvider) AdditionalFieldFn

func (p *TokenProvider) AdditionalFieldFn(classname string) *graphql.Field

func (*TokenProvider) AdditionalPropertyDefaultValue

func (p *TokenProvider) AdditionalPropertyDefaultValue() interface{}

func (*TokenProvider) AdditionalPropertyFn

func (p *TokenProvider) AdditionalPropertyFn(ctx context.Context,
	in []search.Result, params interface{}, limit *int,
	argumentModuleParams map[string]interface{}, cfg moduletools.ClassConfig,
) ([]search.Result, error)

func (*TokenProvider) ExtractAdditionalFn

func (p *TokenProvider) ExtractAdditionalFn(param []*ast.Argument) interface{}

Jump to

Keyboard shortcuts

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