better
This commit is contained in:
parent
9f84cbc4b2
commit
b83d1251ed
|
|
@ -70,7 +70,7 @@ type UDM struct {
|
||||||
MaxAggregateSessions FlexInt `json:"max_aggregate_sessions"`
|
MaxAggregateSessions FlexInt `json:"max_aggregate_sessions"`
|
||||||
} `json:"switch_caps"`
|
} `json:"switch_caps"`
|
||||||
HasFan FlexBool `json:"has_fan"`
|
HasFan FlexBool `json:"has_fan"`
|
||||||
Temperatures *Temperatures `json:"temperatures,omitempty"`
|
Temperatures []Temperature `json:"temperatures,omitempty"`
|
||||||
RulesetInterfaces interface{} `json:"ruleset_interfaces"`
|
RulesetInterfaces interface{} `json:"ruleset_interfaces"`
|
||||||
/* struct {
|
/* struct {
|
||||||
Br0 string `json:"br0"`
|
Br0 string `json:"br0"`
|
||||||
|
|
@ -174,7 +174,7 @@ type NetworkTable []struct {
|
||||||
TxPackets FlexInt `json:"tx_packets"`
|
TxPackets FlexInt `json:"tx_packets"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type Temperatures []struct {
|
type Temperature struct {
|
||||||
Name string `json:"name"`
|
Name string `json:"name"`
|
||||||
Type string `json:"type"`
|
Type string `json:"type"`
|
||||||
Value float64 `json:"value"`
|
Value float64 `json:"value"`
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue