Discover Packages
code.europa.eu/healthdataeu-nodes/hdeupoc
eu-connector
data-permit
internal
core
permit
package
Version:
v0.0.0-...-4109721
Opens a new window with list of versions in this module.
Published: Apr 29, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package permit provides a core business API of a user.
CreateContent creates a message permit content, this content is encoded in
base64.
type Application struct {
ID int `json:"application_id"`
Status string `json:"status"`
CatalogID uuid .UUID `json:"catalog_id"`
Form any `json:"form"`
}
An Application contains the data needed to apply for a permit.
type Permit struct {
Application Application `json:"application"`
}
A Permit is the payload of a message permit.
New is a factory function to create a new permit.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.