Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CrawlPDU ¶
func CrawlPDU(config CrawlerConfig) (*pdu.PDUInventory, error)
CrawlPDU connects to a single JAWS PDU and collects its full inventory.
Types ¶
type CrawlerConfig ¶
type JawsOutlet ¶
type JawsOutlet struct {
ID string `json:"id"`
Name string `json:"name"`
State string `json:"state"`
SocketType string `json:"socket_type"`
Current float32 `json:"current"`
Voltage float32 `json:"voltage"`
ActivePower int `json:"active_power"`
}
JawsOutlet represents the structure of a single outlet object
Click to show internal directories.
Click to hide internal directories.