Documentation ¶
Index ¶
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
}
type Health ¶
type Health struct { SubSytem string `json:"subsystem"` Status string `json:"status"` RxBytes int64 `json:"rx_bytes-r"` TxBytes int64 `json:"tx_bytes-r"` Drops int64 `json:"drops"` Latency int64 `json:"latency"` SpeedTestPing int64 `json:"speedtest_ping"` SpeedTestStatus string `json:"speedtest_status"` LanUsers int64 `json:"num_user"` }
Health is a subsystem health status
type Sta ¶ added in v0.0.2
type Sta struct { Anomalies int64 `json:"anomalies"` BytesRxLan int64 `json:"rx_bytes"` BytesTxLan int64 `json:"tx_bytes"` BytesRetry int64 `json:"bytes-r"` //BytesTxRetryLan int64 `json:"tx_bytes-r"` //BytesTxRetryLan int64 `json:"tx_bytes-r"` //BytesRxWan int64 `json:"wired-rx_bytes"` //BytesTxWan int64 `json:"wired-tx_bytes"` //BytesTxRetryWan int64 `json:"wired-tx_bytes-r"` //BytesRxRetryWan int64 `json:"wired-rx_bytes-r"` MAC string `json:"mac"` Hostname string `json:"hostname"` Name string `json:"name"` OUI string `json:"oui"` Satisfaction int64 `json:"satisfaction"` IsWired bool `json:"is_wired"` }
type UnifiResponse ¶
type UnifiResponse struct { Data json.RawMessage `json:"data"` Meta struct { RC string `json:"rc"` } `json:"meta"` }
UnifiResponse is a Unifi standard API response
Click to show internal directories.
Click to hide internal directories.