package
Version:
v0.0.0-...-35ec728
Opens a new window with list of versions in this module.
Published: Nov 16, 2020
License: Apache-2.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Node struct {
UUID string `json:"uuid"`
Name string `json:"name"`
Group string `json:"group"`
Location struct {
Lat float64 `json:"lat"`
Lon float64 `json:"lon"`
} `json:"location"`
}
type NodeState struct {
NodeID int `json:"nid"`
State bool `json:"state"`
}
type Sink struct {
ID int `json:"id"`
Name string `json:"name"`
Addr string `json:"addr"`
}
type States struct {
Timestamp string `json:"timestamp"`
State []NodeState `json:"state"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.