device

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 27, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ResponseDeviceInfo

type ResponseDeviceInfo struct {
	ID               string  `json:"_id" `
	Type             string  `json:"type" `
	IP               string  `json:"ip" `
	Name             string  `json:"name" `
	LastConnectedAt  int64   `json:"lastConnectedAt" `
	StatusCode       string  `json:"statusCode" `
	Status           string  `json:"status" `
	StatusDetails    string  `json:"statusDetails" `
	SerialNumber     *string `json:"serialNumber" `
	Firmware         string  `json:"firmware" `
	HasAdminError    bool    `json:"hasAdminError" `
	PendingSync      bool    `json:"pendingSync" `
	LastConnection   string  `json:"lastConnection" `
	LastConnectionAt string  `json:"lastConnectionAt" `
}
{
	 "_id": "[Device ID]",
	 "type": "gateway",
	 "ip": "127.0.0.1",
	 "name": "Haivision Gateway",
	 "lastConnectedAt": [Date/time shown in Unix time],
	 "statusCode": "ok",
	 "status": "Online",
	 "statusDetails": "Connection has been established in the last 1 minutes.",
	 "serialNumber": null,
	 "firmware": "5.0.180611.1530",
	 "hasAdminError": false,
	 "pendingSync": false,
	 "lastConnection": "<1m"
	}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL