search

package
v0.0.0-...-9ed1330 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NoMatch = iota
	BiMangledPropSubMatch
	BiMangledPropMatch
	MangledPropSubMatch
	ApproxPropMatch
	MangledPropMatch
	PropMatch
	BiMangledSubMatch
	MangledSubMatch
	SubMatch
	SinglePropMatch
	ApproxMatch
	BiMangledMatch
	MangledMatch
	NameMatch
	SiteID
)

Variables

View Source
var DefaultProviders = []string{"ramerica", "rcalifornia", "scc", "smc"}

Functions

func Run

func Run(providers []string, q campwiz.Query, cs cache.Store, props map[string]*campwiz.Property) ([]campwiz.Result, []error)

Run is a one-stop query shop: talks to backends, annotates, provides filtering

Types

type Match

type Match struct {
	Score      int
	Detail     string
	Campground *campwiz.Campground
}

Jump to

Keyboard shortcuts

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