Documentation
¶
Overview ¶
Package discoverygrp maintains the group of handlers for permit access.
Index ¶
- type Handler
- func (h *Handler) CreateDataset(w http.ResponseWriter, r *http.Request)
- func (h *Handler) DeleteDataset(w http.ResponseWriter, r *http.Request)
- func (h *Handler) DeletePostDataset(w http.ResponseWriter, r *http.Request)
- func (h *Handler) RestoreCatalog(w http.ResponseWriter, r *http.Request)
- func (h *Handler) UpdateDataset(w http.ResponseWriter, r *http.Request)
- func (h *Handler) Validate(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func New ¶
func New(logger *slog.Logger, db *sqlx.DB, domibusSOAP *domibus.SOAP, shaclConfig shacl.Config, party domibus.Party) *Handler
New constructs a handlers for a route access.
func (*Handler) CreateDataset ¶
func (h *Handler) CreateDataset(w http.ResponseWriter, r *http.Request)
CreateDataset creates a dataset.
func (*Handler) DeleteDataset ¶
func (h *Handler) DeleteDataset(w http.ResponseWriter, r *http.Request)
DeleteDataset deletes a dataset.
func (*Handler) DeletePostDataset ¶
func (h *Handler) DeletePostDataset(w http.ResponseWriter, r *http.Request)
DeletePostDataset deletes a dataset using by furnishing the whole dataset on the request body.
func (*Handler) RestoreCatalog ¶
func (h *Handler) RestoreCatalog(w http.ResponseWriter, r *http.Request)
RestoreCatalog restores a catalog.
func (*Handler) UpdateDataset ¶
func (h *Handler) UpdateDataset(w http.ResponseWriter, r *http.Request)
UpdateDataset updates a dataset.
Click to show internal directories.
Click to hide internal directories.