Documentation ¶
Index ¶
Constants ¶
View Source
const ( ActionFirmwareUpdate = "firmware_update" ActionHeartbeatRequest = "heartbeat_request" ActionReboot = "reboot" ActionRefreshNodeInfo = "refresh_node_info" ActionReset = "reset" ActionAwake = "awake" )
Node actions
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Node ¶
type Node struct { ID string `json:"id" yaml:"id"` GatewayID string `json:"gatewayId" yaml:"gatewayId"` NodeID string `json:"nodeId" yaml:"nodeId"` Name string `json:"name" yaml:"name"` Labels cmap.CustomStringMap `json:"labels" yaml:"labels"` Others cmap.CustomMap `json:"others" yaml:"others"` State types.State `json:"state" yaml:"state"` LastSeen time.Time `json:"lastSeen" yaml:"lastSeen"` ModifiedOn time.Time `json:"modifiedOn" yaml:"modifiedOn"` }
Node struct
func (*Node) IsSleepNode ¶
Click to show internal directories.
Click to hide internal directories.