networkmanager

package
v0.0.0-...-b68da14 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 23, 2018 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NetworkManager

type NetworkManager struct {
	// contains filtered or unexported fields
}

func NewNetworkManager

func NewNetworkManager() *NetworkManager

func (*NetworkManager) CheckHasWifi

func (n *NetworkManager) CheckHasWifi() bool

func (*NetworkManager) ConnectWifi

func (n *NetworkManager) ConnectWifi(ssid, password string)

func (*NetworkManager) SetWifiStatus

func (n *NetworkManager) SetWifiStatus(status bool)

func (*NetworkManager) WifiList

func (n *NetworkManager) WifiList() *WifiList

func (*NetworkManager) WifiScan

func (n *NetworkManager) WifiScan()

func (*NetworkManager) WifiStatus

func (n *NetworkManager) WifiStatus() bool

type WifiInfo

type WifiInfo struct {
	Ssid     string
	Signal   int
	Security string
	InUse    bool
}

type WifiList

type WifiList map[string]WifiInfo

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL