Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDeviceScanModel ¶
func NewDeviceScanModel(db *gorm.DB) *gomodel.Model[*DeviceScan]
func NewTestDatabase ¶
func NewTestDatabase()
Types ¶
type Device ¶
type DeviceScan ¶
type DeviceScan struct { Id int64 `gorm:"primaryKey;autoIncrement:false"` DeviceId int64 `json:"device_id"` Device Device `json:"device"` Rssi int `json:"rssi"` }
func (*DeviceScan) GetId ¶
func (d *DeviceScan) GetId() int64
func (*DeviceScan) SetId ¶
func (d *DeviceScan) SetId(id int64)
Click to show internal directories.
Click to hide internal directories.