# Functions
CreateApplication creates the given Application.
CreateDevice creates the given device.
CreateDeviceActivation creates the given device-activation.
CreateDeviceKeys creates the keys for the given device.
CreateDeviceProfile creates the given device-profile.
CreateDeviceQueueMapping creates the given device-queue mapping.
CreateGateway creates the given Gateway.
CreateGatewayPing creates the given gateway ping.
CreateGatewayPingRX creates the received ping.
CreateGatewayProfile creates the given gateway-profile.
CreateIntegration creates the given Integration.
CreateNetworkServer creates the given network-server.
CreateOrganization creates the given Organization.
CreateOrganizationUser adds the given user to the organization.
CreateServiceProfile creates the given service-profile.
CreateUser creates the given user.
DeleteAllApplicationsForOrganizationID deletes all applications given an organization id.
DeleteAllDeviceProfilesForOrganizationID deletes all device-profiles given an organization id.
DeleteAllDevicesForApplicationID deletes all devices given an application id.
DeleteAllGatewaysForOrganizationID deletes all gateways for a given organization id.
DeleteAllServiceProfilesForOrganizationID deletes all service-profiles given an organization id.
DeleteApplication deletes the Application matching the given ID.
DeleteDevice deletes the device matching the given DevEUI.
DeleteDeviceKeys deletes the device-keys for the given DevEUI.
DeleteDeviceProfile deletes the device-profile matching the given id.
DeleteDeviceQueueMapping deletes the device-queue mapping matching the given ID.
DeleteGateway deletes the gateway matching the given MAC.
DeleteGatewayProfile deletes the gateway-profile matching the given id.
DeleteIntegration deletes the integration matching the given id.
DeleteNetworkServer deletes the network-server matching the given id.
DeleteOrganization deletes the organization matching the given id.
DeleteOrganizationUser deletes the given organization user.
DeleteServiceProfile deletes the service-profile matching the given id.
DeleteUser deletes the User record matching the given ID.
FlushDeviceQueueMappingForDevEUI flushes the device-queue mapping for the given DevEUI.
GetApplication returns the Application for the given id.
GetApplicationCount returns the total number of applications.
GetApplicationCountForOrganizationID returns the total number of applications for the given organization.
GetApplicationCountForUser returns the total number of applications available for the given user.
GetApplications returns a slice of applications, sorted by name and respecting the given limit and offset.
GetApplicationsForOrganizationID returns a slice of applications for the given organization.
GetApplicationsForUser returns a slice of application of which the given user is a member of.
GetDevice returns the device matching the given DevEUI.
GetDeviceCountForApplicationID returns the total number of devices for the given application id.
GetDeviceKeys returns the device-keys for the given DevEUI.
GetDeviceProfile returns the device-profile matching the given id.
GetDeviceProfileCount returns the total number of device-profiles.
GetDeviceProfileCountForApplicationID returns the total number of device-profiles that can be used for the given application id (based on the service-profile of the application).
GetDeviceProfileCountForOrganizationID returns the total number of device-profiles for the given organization id.
GetDeviceProfileCountForUser returns the total number of device-profiles for the given username.
GetDeviceProfiles returns a slice of device-profiles.
GetDeviceProfilesForApplicationID returns a slice of device-profiles that can be used for the given application id (based on the service-profile of the application).
GetDeviceProfilesForOrganizationID returns a slice of device-profiles for the given organization id.
GetDeviceProfilesForUser returns a slice of device-profiles for the given username.
GetDeviceQueueMappingForDevEUIAndFCnt returns the device-queue mapping for the given DevEUI and FCnt.
GetDevicesForApplicationID returns a slice of devices for the given application id.
GetGateway returns the gateway for the given mac.
GetGatewayCount returns the total number of gateways.
GetGatewayCountForOrganizationID returns the total number of gateways given an organization ID.
GetGatewayCountForUser returns the total number of gateways to which the given user has access.
GetGatewayPing returns the ping matching the given id.
GetGatewayPingRXForPingID returns the received gateway pings for the given ping ID.
GetGatewayProfile returns the gateway-profile matching the given id.
GetGatewayProfileCount returns the total number of gateway-profiles.
GetGatewayProfileCountForNetworkServerID returns the total number of gateway-profiles given a network-server ID.
GetGatewayProfiles returns a slice of gateway-profiles.
GetGatewayProfilesForNetworkServerID returns a slice of gateway-profiles for the given network-server ID.
GetGateways returns a slice of gateways sorted by name.
GetGatewaysForOrganizationID returns a slice of gateways sorted by name for the given organization ID.
GetGatewaysForUser returns a slice of gateways sorted by name to which the given user has access.
GetIntegration returns the Integration for the given id.
GetIntegrationByApplicationID returns the Integration for the given application id and kind.
GetIntegrationsForApplicationID returns the integrations for the given application id.
GetLastDeviceActivationForDevEUI returns the most recent device-activation for the given DevEUI.
GetLastGatewayPingAndRX returns the last gateway ping and RX for the given gateway MAC.
GetNetworkServer returns the network-server matching the given id.
GetNetworkServerCount returns the total number of network-servers.
GetNetworkServerCountForOrganizationID returns the total number of network-servers accessible for the given organization id.
GetNetworkServerForDevEUI returns the network-server for the given DevEUI.
GetNetworkServerForDeviceProfileID returns the network-server for the given device-profile id.
GetNetworkServerForGatewayMAC returns the network-server for a given gateway mac.
GetNetworkServerForGatewayProfileID returns the network-server for the given gateway-profile id.
GetNetworkServerForServiceProfileID returns the network-server for the given service-profile id.
GetNetworkServers returns a slice of network-servers.
GetNetworkServersForOrganizationID returns a slice of network-server accessible for the given organization id.
GetOrganization returns the Organization for the given id.
GetOrganizationCount returns the total number of organizations.
GetOrganizationCountForUser returns the number of organizations to which the given user is member of.
GetOrganizations returns a slice of organizations, sorted by name and respecting the given limit and offset.
GetOrganizationsForUser returns a slice of organizations to which the given user is member of.
GetOrganizationUser gets the information of the given organization user.
GetOrganizationUserCount returns the number of users for the given organization.
GetOrganizationUsers returns the users for the given organization.
GetProfile returns the user profile (user, applications and organizations to which the user is linked).
GetServiceProfile returns the service-profile matching the given id.
GetServiceProfileCount returns the total number of service-profiles.
GetServiceProfileCountForOrganizationID returns the total number of service-profiles for the given organization id.
GetServiceProfileCountForUser returns the total number of service-profiles for the given username.
GetServiceProfiles returns a slice of service-profiles.
GetServiceProfilesForOrganizationID returns a slice of service-profiles for the given organization id.
GetServiceProfilesForUser returns a slice of service-profile for the given username.
GetUser returns the User for the given id.
GetUserByUsername returns the User for the given username.
GetUserCount returns the total number of users.
GetUsers returns a slice of users, respecting the given limit and offset.
GlobalSearch performs a search on organizations, applications, gateways and devices.
LoginUser returns a JWT token for the user matching the given username and password.
NewRedisPool returns a new Redis connection pool.
OpenDatabase opens the database and performs a ping to make sure the database is up.
SetUserSecret sets the JWT secret.
Transaction wraps the given function in a transaction.
UpdateApplication updates the given Application.
UpdateDevice updates the given device.
UpdateDeviceKeys updates the given device-keys.
UpdateDeviceProfile updates the given device-profile.
UpdateGateway updates the given Gateway.
UpdateGatewayProfile updates the given gateway-profile.
UpdateIntegration updates the given Integration.
UpdateNetworkServer updates the given network-server.
UpdateOrganization updates the given organization.
UpdateOrganizationUser updates the given user of the organization.
UpdatePassword updates the user with the new password.
UpdateServiceProfile updates the given service-profile.
UpdateUser updates the given User.
ValidateEmail validates the given e-mail.
ValidatePassword validates the given password.
ValidateUsername validates the given username.
# Constants
Possible actions.
Possible actions.
Modulations.
Modulations.
Possible actions.
Possible actions.
Possible actions.
# Variables
errors.
errors.
errors.
errors.
errors.
errors.
errors.
errors.
errors.
errors.
errors.
errors.
errors.
errors.
HashIterations defines the number of hash iterations.
# Structs
Application represents an application.
ApplicationListItem devices the application as a list item.
Device defines a LoRaWAN device.
DeviceActivation defines the device-activation for a LoRaWAN device.
DeviceKeys defines the keys for a LoRaWAN device.
DeviceListItem defines the Device as list item.
DeviceProfile defines the device-profile.
DeviceProfileMeta defines the device-profile meta record.
DeviceQueueMapping holds the data mapping a device-queue item to a reference.
ExtraChannel defines an extra channel for the gateway-profile.
Gateway represents a gateway.
GatewayPing represents a gateway ping.
GatewayPingRX represents a ping received by one of the gateways.
GatewayProfile defines a gateway-profile.
GatewayProfileMeta defines the gateway-profile meta record.
GPSPoint contains a GPS point.
Integration represents an integration.
NetworkServer defines the information to connect to a network-server.
Organization represents an organization.
OrganizationUser represents an organization user.
SearchResult defines a search result.
ServiceProfile defines the service-profile.
ServiceProfileMeta defines the service-profile meta record.
User represents a user to external code.
UserProfile contains the profile of the user.
UserProfileApplication contains the applications to which the user is linked.
UserProfileOrganization contains the organizations to which the user is linked.
UserProfileUser contains the user information of the profile.
UserUpdate represents the user fields that can be "updated" in the simple case.
# Type aliases
Action defines the action type.