web

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2023 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTemplate added in v0.0.3

func NewTemplate() (*echoTempl, error)

func Run

func Run(bq bhlquest.BHLQuest)

@host bhlquest.globalnames.org @BasePath /api/v1

Types

type Data

type Data struct {
	Page           string
	Output         *answer.Answer
	Question       string
	Format         string
	FormatOptions  []string
	MaxResultsNum  int
	ScoreThreshold float64
	WithText       bool
	Version        string
}

Data contains information needed to render web-pages.

type Duration

type Duration struct {
	Total float32
}

Jump to

Keyboard shortcuts

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