Add placeholds for device names.
This commit is contained in:
parent
e3e463553e
commit
3c449ea1dc
|
|
@ -16,6 +16,7 @@ type Client struct {
|
||||||
UptimeByUGW int64 `json:"_uptime_by_ugw"`
|
UptimeByUGW int64 `json:"_uptime_by_ugw"`
|
||||||
UptimeByUSW int64 `json:"_uptime_by_usw"`
|
UptimeByUSW int64 `json:"_uptime_by_usw"`
|
||||||
ApMac string `json:"ap_mac"`
|
ApMac string `json:"ap_mac"`
|
||||||
|
ApName string `json:"-"`
|
||||||
AssocTime int64 `json:"assoc_time"`
|
AssocTime int64 `json:"assoc_time"`
|
||||||
Authorized FlexBool `json:"authorized"`
|
Authorized FlexBool `json:"authorized"`
|
||||||
Bssid string `json:"bssid"`
|
Bssid string `json:"bssid"`
|
||||||
|
|
@ -39,6 +40,7 @@ type Client struct {
|
||||||
FixedIP string `json:"fixed_ip"`
|
FixedIP string `json:"fixed_ip"`
|
||||||
Hostname string `json:"hostname"`
|
Hostname string `json:"hostname"`
|
||||||
GwMac string `json:"gw_mac"`
|
GwMac string `json:"gw_mac"`
|
||||||
|
GwName string `json:"-"`
|
||||||
IdleTime int64 `json:"idle_time"`
|
IdleTime int64 `json:"idle_time"`
|
||||||
IP string `json:"ip"`
|
IP string `json:"ip"`
|
||||||
Is11R FlexBool `json:"is_11r"`
|
Is11R FlexBool `json:"is_11r"`
|
||||||
|
|
@ -72,6 +74,7 @@ type Client struct {
|
||||||
SiteName string `json:"-"`
|
SiteName string `json:"-"`
|
||||||
SwDepth int `json:"sw_depth"`
|
SwDepth int `json:"sw_depth"`
|
||||||
SwMac string `json:"sw_mac"`
|
SwMac string `json:"sw_mac"`
|
||||||
|
SwName string `json:"-"`
|
||||||
SwPort int `json:"sw_port"`
|
SwPort int `json:"sw_port"`
|
||||||
TxBytes int64 `json:"tx_bytes"`
|
TxBytes int64 `json:"tx_bytes"`
|
||||||
TxBytesR int64 `json:"tx_bytes-r"`
|
TxBytesR int64 `json:"tx_bytes-r"`
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue