package
0.0.0-20250128140725-9780e122569c
Repository: https://github.com/foxcodenine/iot-parking-gateway.git
Documentation: pkg.go.dev

# Functions

New initializes the Models struct and sets up the Upper ORM session.
NewActivityLog constructs an ActivityLog object from a provided map of data.
NewAuditLog constructs an AuditLog object from a provided map of data.
NewLoraKeepaliveLog constructs a LoraKeepaliveLog object from a provided map of data.
NewLoraSettingLog constructs a LoraSettingLog object from a provided map of data.
NewNbiotKeepaliveLog constructs an NbiotKeepaliveLog object from a provided map of data.
NewNbiotSettingLog constructs an NbiotSettingLog object from a provided map of data.
NewSigfoxKeepaliveLog constructs a SigfoxKeepaliveLog object from a provided map of data.
NewSigfoxSettingLog constructs a SigfoxSettingLog object from a provided map of data.

# Variables

No description provided by the author
No description provided by the author

# Structs

ActivityLog.
AuditLog represents a single entry in the audit_logs table.
Beacon struct represents the JSON structure within the beacons JSONB column.
Device represents a parking device in the database with ID and timestamps.
LoraDeviceSettings represents current or last settings of a LoRa device.
LoraKeepaliveLog represents a single LoRa keepalive log entry.
LoraSettingLog represents a single LoRa setting log entry.
Models struct will hold references to all database models, e.g., Device.
NbiotDeviceSettings represents current or last settings of a device.
NbiotKeepaliveLog represents a single NB-IoT keepalive log entry.
NbiotSettingLog represents a single NB-IoT setting log entry.
No description provided by the author
Setting represents a configuration setting stored in the database.
SigfoxDeviceSettings represents the current or last settings of a Sigfox device.
SigfoxKeepaliveLog represents a single Sigfox keepalive log entry.
SigfoxSettingLog represents a single Sigfox setting log entry.
User represents a user in the database with login credentials and permissions.