verifier

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Verifier

type Verifier interface {
	// Verify takes a slice of strings to verify, optional preferred data-sources
	// and returns results of verification of the strings against known
	// scientific names.
	Verify(ctx context.Context, params vlib.Input) vlib.Output

	// DataSources returns meta-information about aggregated data-sources.
	DataSources(ctx context.Context) ([]vlib.DataSource, error)

	// DataSource returns meta-information about a particular data source.
	DataSource(ctx context.Context, id int) (vlib.DataSource, error)
}

Verifier takes verification parameters and returns back results

of verification of name-strings.

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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