system

package
v1.0.100 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetOutboundIP

func GetOutboundIP() net.IP

GetOutboundIP gets the preferred outbound ip of this machine

func GetWirelessNetworks added in v1.0.81

func GetWirelessNetworks() (map[string]WirelessNetwork, error)

GetWirelessNetworks returns a list of available wireless networks

Types

type WirelessNetwork added in v1.0.81

type WirelessNetwork struct {
	Address       string `json:"address"`
	ESSID         string `json:"essid"`
	Encrypted     bool   `json:"encrypted"`
	Frequency     string `json:"frequency"`
	SignalQuality int    `json:"signal_quality"`
	SignalLevel   int    `json:"signal_level"`
}

Jump to

Keyboard shortcuts

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