owrt/wifi_cell.go

18 lines
340 B
Go

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,
}
}