Documentation ¶
Index ¶
- type Context
- type Handler
- func (h *Handler) Show(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) ShowActivity(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) ShowContributors(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) ShowDescription(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) ShowPublications(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) Wrap(fn func(http.ResponseWriter, *http.Request, Context)) http.HandlerFunc
- type YieldShow
- type YieldShowActivity
- type YieldShowContributors
- type YieldShowDescription
- type YieldShowPublications
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Context ¶
type Context struct { handlers.BaseContext Dataset *models.Dataset RedirectURL string }
type Handler ¶
type Handler struct { handlers.BaseHandler Repository backends.Repository }
func (*Handler) ShowActivity ¶
func (*Handler) ShowContributors ¶
func (*Handler) ShowDescription ¶
func (*Handler) ShowPublications ¶
func (*Handler) Wrap ¶
func (h *Handler) Wrap(fn func(http.ResponseWriter, *http.Request, Context)) http.HandlerFunc
type YieldShowActivity ¶
type YieldShowActivity struct { Context }
type YieldShowContributors ¶
type YieldShowContributors struct { Context }
type YieldShowDescription ¶
type YieldShowPublications ¶
type YieldShowPublications struct { Context RelatedPublications []*models.Publication }
Click to show internal directories.
Click to hide internal directories.