handlers

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: 7 Imported by: 0

Documentation

Overview

Package handlers manages the different versions of the API.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func APIMux

func APIMux(cfg APIMuxConfig) *mux.Router

APIMux constructs a http.Handler with all application routes defined.

Types

type APIMuxConfig

type APIMuxConfig struct {
	Logger      *slog.Logger
	DB          *sqlx.DB
	DomibusSOAP *domibus.SOAP
	SHACLConfig shacl.Config
	Party       domibus.Party
}

APIMuxConfig contains all the mandatory systems required by handlers.

func NewAPIMuxConfig

func NewAPIMuxConfig(logger *slog.Logger, db *sqlx.DB, domibusSOAP *domibus.SOAP,
	shaclConfig shacl.Config, party domibus.Party) APIMuxConfig

NewAPIMuxConfig constructs a new mux config.

Directories

Path Synopsis
v1
Package v1 contains the full set of handler functions and routes supported by the v1 web api.
Package v1 contains the full set of handler functions and routes supported by the v1 web api.
discoverygrp
Package discoverygrp maintains the group of handlers for permit access.
Package discoverygrp maintains the group of handlers for permit access.
messagegrp
Package messagegrp maintains the group of handlers for domibus message.
Package messagegrp maintains the group of handlers for domibus message.
trackmsggrp
Package trackmsggrp maintains the group of handlers for track message access.
Package trackmsggrp maintains the group of handlers for track message access.

Jump to

Keyboard shortcuts

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