yanic/data/breminale.go

26 lines
659 B
Go
Raw Normal View History

2016-06-19 00:01:12 +02:00
package data
2016-06-29 00:04:33 +02:00
type Wireless struct {
2016-06-29 20:34:32 +02:00
TxPower24 uint32 `json:"txpower24,omitempty"`
Channel24 uint32 `json:"channel24,omitempty"`
TxPower5 uint32 `json:"txpower5,omitempty"`
Channel5 uint32 `json:"channel5,omitempty"`
2016-06-19 00:01:12 +02:00
}
type SwitchPort struct {
Speed uint32 `json:"speed"`
}
type WirelessStatistics struct {
Airtime24 *WirelessAirtime `json:"airtime24,omitempty"`
Airtime5 *WirelessAirtime `json:"airtime5,omitempty"`
}
type WirelessAirtime struct {
Active uint64 `json:"active"`
Busy uint64 `json:"busy"`
Rx uint64 `json:"rx"`
Tx uint64 `json:"tx"`
Noise uint32 `json:"noise"`
Frequency uint32 `json:"frequency"`
}