Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct {
DB DBInterface
LogOutput io.Writer
}
type DB ¶
type DB struct {
// contains filtered or unexported fields
}
func (*DB) GetDevices ¶
func (*DB) UpdateDevice ¶
type DBInterface ¶
type Device ¶
type Device struct {
MAC string `json:"mac" redis:"mac"`
CurrentFirmware string `json:"currentFirmware" redis:"currentFirmware"`
CurrentVersion string `json:"currentVersion" redis:"currentVersion"`
AssignedFirmware string `json:"assignedFirmware" redis:"assignedFirmware"`
AssignedVersion string `json:"assignedVersion" redis:"assignedVersion"`
AcceptsPrerelease bool `json:"acceptsPrerelease" redis:"acceptsPrerelease"`
}
Click to show internal directories.
Click to hide internal directories.