service

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

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

Service is the service type

func NewDomain

func NewDomain(references []string, logger *logrus.Logger, options ...finder.Option) (Service, error)

NewDomain creates a new service

func (Service) Find

func (s Service) Find(ctx context.Context, input string) (string, float64, bool)

Find returns the nearest reference

Jump to

Keyboard shortcuts

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