Documentation
¶
Overview ¶
Package pdu provides a dutagent module that allows power control of a PDU via HTTP requests.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PDU ¶
type PDU struct {
Host string // Host is the address of the PDU
User string // User is used for authentication, if supported by the PDU
Password string // Password is used for authentication, if supported by the PDU
Outlet int // Outlet is the outlet to control, if the PDU supports multiple outlets. Defaults to 0 (first outlet).
// contains filtered or unexported fields
}
PDU is a module that provides basic power management functions for a PDU (Power Distribution Unit). NOTE: This implementation currently supports only Intellinet ATM PDUs.
Click to show internal directories.
Click to hide internal directories.