18 lines
343 B
Go
18 lines
343 B
Go
package openwrt
|
|
|
|
// 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,
|
|
}
|
|
}
|