datasetsearching

package
v1.0.53 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActionItem

type ActionItem struct {
	Template string
	URL      *url.URL
	Label    string
}

type Context

type Context struct {
	handlers.BaseContext
	SearchArgs *models.SearchArgs
}

type Handler

type Handler struct {
	handlers.BaseHandler
	DatasetSearchIndex backends.DatasetIndex
}

func (*Handler) CurationSearch

func (h *Handler) CurationSearch(w http.ResponseWriter, r *http.Request, ctx Context)

func (*Handler) Search

func (h *Handler) Search(w http.ResponseWriter, r *http.Request, ctx Context)

func (*Handler) Wrap

type YieldSearch

type YieldSearch struct {
	Context
	PageTitle    string
	ActiveNav    string
	Scopes       []string
	Hits         *models.DatasetHits
	IsFirstUse   bool
	CurrentScope string
	ActionItems  []*ActionItem
}

Jump to

Keyboard shortcuts

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