permitgrp

package
v0.0.0-...-4109721 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package permitgrp 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, party domibus.Party) *Handler

New constructs a handlers for a route access.

func (*Handler) Create

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

Create creates a permit application.

func (*Handler) FetchAll

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

FetchAll gets all the applications permits.

func (*Handler) Update

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

Update updates an application permit.

Jump to

Keyboard shortcuts

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