Documentation ¶
Index ¶
- type Context
- type Handler
- func (h *Handler) DownloadFile(w http.ResponseWriter, r *http.Request, ctx Context)
- 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) ShowDatasets(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) ShowDescription(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) ShowFiles(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 YieldShowDatasets
- type YieldShowDescription
- type YieldShowFiles
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Context ¶
type Context struct { handlers.BaseContext Publication *models.Publication RedirectURL string }
type Handler ¶
type Handler struct { handlers.BaseHandler Repo *repositories.Repo FileStore backends.FileStore MaxFileSize int }
func (*Handler) DownloadFile ¶
func (*Handler) ShowActivity ¶
func (*Handler) ShowContributors ¶
func (*Handler) ShowDatasets ¶
func (*Handler) ShowDescription ¶
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 YieldShowDatasets ¶
type YieldShowDescription ¶
type YieldShowFiles ¶
Click to show internal directories.
Click to hide internal directories.