Documentation
¶
Index ¶
- type Client
- func (client *Client) Close() error
- func (client *Client) Dial() error
- func (client *Client) Info() (*ClientInfo, error)
- func (client *Client) SetAllPorts(color Color, brightness uint8) error
- func (client *Client) SetMode(mode Mode) error
- func (client *Client) SetPortColors(portColors []PortColor) error
- func (client *Client) SystemConfig() (*SystemConfigOutput, error)
- type ClientInfo
- type Color
- type Mode
- type PortColor
- type SystemConfigOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) Info ¶
func (client *Client) Info() (*ClientInfo, error)
func (*Client) SetPortColors ¶
func (*Client) SystemConfig ¶
func (client *Client) SystemConfig() (*SystemConfigOutput, error)
type ClientInfo ¶
type Mode ¶
type Mode string
const ( ModeColdReset Mode = "cold_reset" ModeWarmReset Mode = "warm_reset" ModeBootDone Mode = "boot_done" ModeSpeed Mode = "speed" ModePOE Mode = "poe" ModeNetwork Mode = "network" ModeDeviceType Mode = "device_type" ModePortLocate Mode = "port_locate" ModePortLocateUnset Mode = "port_locate_unset" )
type SystemConfigOutput ¶
Click to show internal directories.
Click to hide internal directories.