publicationsearching

package
v1.0.46 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2023 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
	PublicationSearchIndex backends.PublicationIndex
	FileStore              backends.FileStore
}

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
	CurrentScope string
	IsFirstUse   bool
	Hits         *models.PublicationHits
	ActionItems  []*ActionItem
}

Jump to

Keyboard shortcuts

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