Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultPath = "/etc/wpa_supplicant/wpa_supplicant.conf"
DefaultPath is the default path for WPA supplicant config file
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type File ¶
File represents the config file
type Network ¶
type Network struct {
wireless.Network
}
Network models a network in a WPA config file
func NewNetworkFromLines ¶
NewNetworkFromLines will parse the lines from a network block and turn them into a network object
Click to show internal directories.
Click to hide internal directories.