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 DomibusSOAP *domibus.SOAP EUPortalConfig euportal.Config DiscoController controller.DiscoveryController AccessPoints map[string]uuid.UUID }
APIMuxConfig contains all the mandatory systems required by handlers.
func NewAPIMuxConfig ¶
func NewAPIMuxConfig(logger *slog.Logger, domibusSOAP *domibus.SOAP, euPortalConfig euportal.Config, discoController controller.DiscoveryController, aps map[string]uuid.UUID) APIMuxConfig
NewAPIMuxConfig constructs a new mux config.
Directories ¶
Path | Synopsis |
---|---|
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 discovery access.
|
Package discoverygrp maintains the group of handlers for discovery access. |
euportal
Package euportal provides CRUD functionality to interact with EU Portal API.
|
Package euportal provides CRUD functionality to interact with EU Portal API. |
Click to show internal directories.
Click to hide internal directories.