package
Version:
v0.0.0-...-a085c4d
Opens a new window with list of versions in this module.
Published: May 2, 2021
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Readings struct {
RequestId int64 `json:"request_id" gorm:"primary_key"`
SensorId int64 `json:"sensor_id" sql:"type:int64 REFERENCES sensors(id)"`
Data string `json:"data"`
}
type Sensors struct {
Id int64 `json:"id" gorm:"primary_key"`
Name string `json:"name"`
MacAddress string `json:"mac_address"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.