web

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2023 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(gnd gndiff.GNdiff, port int)

Types

type Input

type Input struct {
	// QueryFileName can be `csv`, `tsv`, `text`.
	// This field is optional, but it can help to avoid problems.
	QueryFileName string `json:"queryFileName"`

	// QueryText is the content of CSV, TSV, or plain text file.
	// It contains names that need to be matched to Reference.
	QueryText string `json:"queryText"`

	// ReferenceFileName can be `csv`, `tsv`, or `text`.
	// This field is optional, but it can help to avoid problems.
	ReferenceFileName string `json:"referenceFileName"`

	// ReferenceText is the content of CSV, TSV, or plain text file.
	// It contains names that are matched agains by the Query.
	ReferenceText string `json:"referenceText"`
}

Input is how JSON for POST method is organized.

Jump to

Keyboard shortcuts

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