handler

package
v0.2.46 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConsentCategoryHandler

type ConsentCategoryHandler struct{}

func NewConsentCategoryHandler

func NewConsentCategoryHandler() *ConsentCategoryHandler

func (*ConsentCategoryHandler) AddConsentCategory

func (h *ConsentCategoryHandler) AddConsentCategory(w http.ResponseWriter, r *http.Request)

AddConsentCategory handles POST /consent-categories

func (*ConsentCategoryHandler) DeleteConsentCategory

func (h *ConsentCategoryHandler) DeleteConsentCategory(w http.ResponseWriter, r *http.Request)

DeleteConsentCategory handles Delete /consent-categories/{id}

func (*ConsentCategoryHandler) GetAllConsentCategories

func (h *ConsentCategoryHandler) GetAllConsentCategories(w http.ResponseWriter, r *http.Request)

GetAllConsentCategories handles GET /consent-categories

func (*ConsentCategoryHandler) GetConsentCategory

func (h *ConsentCategoryHandler) GetConsentCategory(w http.ResponseWriter, r *http.Request)

GetConsentCategory handles GET /consent-categories/{id}

func (*ConsentCategoryHandler) UpdateConsentCategory

func (h *ConsentCategoryHandler) UpdateConsentCategory(w http.ResponseWriter, r *http.Request)

UpdateConsentCategory handles PUT /consent-categories/{id}

Jump to

Keyboard shortcuts

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