dashboard

package
v1.0.48 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 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 BindPublications added in v1.0.42

type BindPublications struct {
	UYear string `query:"uyear" form:"uyear"`
	AYear string `query:"ayear" form:"ayear"`
}

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) RefreshAPublications added in v1.0.42

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

func (*Handler) RefreshUPublications added in v1.0.42

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

func (*Handler) Wrap

type YieldDatasets

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

type YieldPublications

type YieldPublications struct {
	Context
	PageTitle            string
	ActiveNav            string
	ActiveSubNav         string
	UPublications        map[string]map[string][]string
	APublications        map[string]map[string][]string
	UFaculties           []string
	AFaculties           []string
	PTypes               map[string]string
	UYear                string
	AYear                string
	AllUPublicationYears []string
	AllAPublicationYears []string
}

type YieldTblPublications added in v1.0.42

type YieldTblPublications struct {
	Context
	Publications map[string]map[string][]string
	Faculties    []string
	PTypes       map[string]string
}

Jump to

Keyboard shortcuts

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