package
0.0.0-20211214102139-d6be95a6f694
Repository: https://github.com/packetify/packetify.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GetPhyOfDevice returns phy of wifi devices by iface returns empty string if iface wasn't 80211 or not exist.
GetValidVirtIfaceName returns a valid interfaceName for virtual network interface.
GetVersion returns the version of networkmanager using nmcli.
GetWifiDevicesInfo returns all netwotk interface informations via nmcli.
No description provided by the author
No description provided by the author
IsWifiEnabled checks if wifi is enable via nmcli.
IWDeleteInterface deletes wifi/virtual interface if exist and returns error if not exist.
No description provided by the author
No description provided by the author
NewWIFI creates a new instance of wifiDevice struct.
No description provided by the author
TurnWifiOff turns wifi off via nmcli.
TurnWifiOn turns wifi on via nmcli.
UnmanageIface set iface as unmanaged via nmcli.
ValidateIfaceName validate interface name,often used for virtual iface name validation.
# Variables
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author