owrt/wifi_cell.go

18 lines
340 B
Go
Raw Normal View History

package owrt
// WifiCell reprensents wifi network Cell
type WifiCell struct {
Ssid string
MacAddress string
Encryption string
}
// NewWifiCell returns a new WifiCell object
func NewWifiCell(ssid string, mac string, encrypt string) *WifiCell {
return &WifiCell{
Ssid: ssid,
MacAddress: mac,
Encryption: encrypt,
}
}