wlist

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2022 License: MIT Imports: 5 Imported by: 0

README

This pkg is a fork from this repository : https://github.com/MonkeyBuisness/golang-iwlist You can't use the original package because there is a go.mod issue.

➜  WIFI-cli go get github.com/MonkeyBuisness/golang-iwlist                                          

go: downloading github.com/MonkeyBuisness/golang-iwlist v0.0.0-20220920142351-7b59e0d73297
go: github.com/MonkeyBuisness/golang-iwlist@v0.0.0-20220920142351-7b59e0d73297: parsing go.mod:
        module declares its path as: github.com/MonkeyBusiness/golang-iwlist
                but was required as: github.com/MonkeyBuisness/golang-iwlist

After the class, I will make a PR to correct this. Then, I might remove this package and use the original one.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cell

type Cell struct {
	CellNumber     string  `json:"cell_number"`
	MAC            string  `json:"mac"`
	ESSID          string  `json:"essid"`
	Mode           string  `json:"mode"`
	Frequency      float32 `json:"frequency"`
	FrequencyUnits string  `json:"frequency_units"`
	Channel        int     `json:"channel"`
	EncryptionKey  bool    `json:"encryption_key"`
	Encryption     string  `json:"encryption"`
	SignalQuality  int     `json:"signal_quality"`
	SignalTotal    int     `json:"signal_total"`
	SignalLevel    int     `json:"signal_level"`
}

func Scan

func Scan(interfaceName string) ([]Cell, error)

Jump to

Keyboard shortcuts

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