Documentation
¶
Index ¶
- func GenerateWPASupplicantConfig(ssid, password string) string
- func GetOutboundIP() (net.IP, error)
- func GetTimezone() (string, error)
- func GetWirelessNetworks() (map[string]WirelessNetwork, error)
- func UpdateTimezone(updatedTimezone string) error
- func UpdateWPASupplicantConfig(updatedConfig string) error
- type WirelessNetwork
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateWPASupplicantConfig ¶ added in v1.0.112
GenerateWPASupplicantConfig generates the updated config file for wpa_supplicant
func GetOutboundIP ¶
GetOutboundIP gets the preferred outbound ip of this machine
func GetTimezone ¶ added in v1.0.144
GetTimezone gets the current machine's timezone information
func GetWirelessNetworks ¶ added in v1.0.81
func GetWirelessNetworks() (map[string]WirelessNetwork, error)
GetWirelessNetworks returns a list of available wireless networks
func UpdateTimezone ¶ added in v1.0.144
UpdateTimezone sets the current machine's timezone to the given timezone
func UpdateWPASupplicantConfig ¶ added in v1.0.114
UpdateWPASupplicantConfig saves the updated config file for wpa_supplicant and forces a refresh of the config file
Types ¶
Click to show internal directories.
Click to hide internal directories.