dashboard

package
v1.0.39 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Context

type Context struct {
	handlers.BaseContext
	Type string
}

type Handler

type Handler struct {
	handlers.BaseHandler
	SearchService          backends.SearchService
	DatasetSearchIndex     backends.DatasetIndex
	PublicationSearchIndex backends.PublicationIndex
}

func (*Handler) Datasets

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

func (*Handler) Publications

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

func (*Handler) Wrap

type YieldDatasets

type YieldDatasets struct {
	Context
	PageTitle string
	ActiveNav string
	Datasets  map[string]map[string][]string
	Faculties []string
	PTypes    map[string]string
}

type YieldPublications

type YieldPublications struct {
	Context
	PageTitle     string
	ActiveNav     string
	UPublications map[string]map[string][]string
	APublications map[string]map[string][]string
	UFaculties    []string
	AFaculties    []string
	PTypes        map[string]string
}

Jump to

Keyboard shortcuts

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