Documentation ¶
Index ¶
- type Params
- type TokenProvider
- func (p *TokenProvider) AdditionalFieldFn(classname string) *graphql.Field
- func (p *TokenProvider) AdditionalPropertyDefaultValue() interface{}
- func (p *TokenProvider) AdditionalPropertyFn(ctx context.Context, in []search.Result, params interface{}, limit *int, ...) ([]search.Result, error)
- func (p *TokenProvider) ExtractAdditionalFn(param []*ast.Argument) interface{}
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 (Params) GetProperties ¶
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{}
Click to show internal directories.
Click to hide internal directories.