optional channel and txpower

This commit is contained in:
Martin Geno 2016-06-29 20:34:32 +02:00
parent 83cdf4e199
commit 5011719fdf

View File

@ -1,10 +1,10 @@
package data
type Wireless struct {
TxPower24 uint32 `json:"txpower24"`
Channel24 uint32 `json:"channel24"`
TxPower5 uint32 `json:"txpower5"`
Channel5 uint32 `json:"channel5"`
TxPower24 uint32 `json:"txpower24,omitempty"`
Channel24 uint32 `json:"channel24,omitempty"`
TxPower5 uint32 `json:"txpower5,omitempty"`
Channel5 uint32 `json:"channel5,omitempty"`
}
type SwitchPort struct {
Speed uint32 `json:"speed"`