Documentation ¶
Index ¶
- func DownloadData(db *sql.DB, c echo.Context) error
- func GetScout(db *sql.DB, c echo.Context) error
- func GetScoutFrame(db *sql.DB, c echo.Context) error
- func GetScouts(db *sql.DB, c echo.Context) error
- func ScoutCalibrated(db *sql.DB, c echo.Context) error
- func ScoutHeartbeat(db *sql.DB, c echo.Context) error
- func ScoutInteraction(db *sql.DB, c echo.Context) error
- func ScoutLog(db *sql.DB, c echo.Context) error
- func UpdateScout(db *sql.DB, c echo.Context) error
- type HealthData
- type Heartbeat
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type HealthData ¶
type HealthData struct { IpAddress string // The current IP address of the scout. CPU float32 // The amount of CPU load currently being consumed on the scout. 0.0 - no load, 1.0 - full load. Memory float32 // The amount of memory consumed on the scout. 0.0 - no memory used, 1.0 no memory available. TotalMemory float32 // The total number of gigabytes of virtual memory currently available. Storage float32 // The amount of storage consumed on the scout. 0.0 - disk unused, 1.0 disk full. }
type Heartbeat ¶
type Heartbeat struct { UUID string // The UUID for the scout. Version string // The version of the protocol used used for transmitting data to the mothership. Health HealthData // The current health status of the scout. }
Click to show internal directories.
Click to hide internal directories.