discoverygrp

package
v0.0.0-...-57b3f38 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package discoverygrp maintains the group of handlers for permit access.

Index

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.

func (*Handler) Validate

func (h *Handler) Validate(w http.ResponseWriter, r *http.Request)

Validate validates a dataset for a standalone validation.

Jump to

Keyboard shortcuts

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