Skip to content
/ wifi Public

wifi go package will give information about connected wifi.

License

Notifications You must be signed in to change notification settings

asiyani/wifi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

wifi

use wifi to get information about connected wireless in go app. Following information is available.

type Info struct {
	SSID        string 
	Mac         string 
	Security    string
	Channel     string
	Frequency   string
	SignalLevel string
	MaxRate     string
}

Install

go get github.com/asiyani/wifi

Example

	out, err := wifi.GetInfo()
	if err != nil {
		log.Fatal(err)
	}
	fmt.Printf("%+v\n", out)

	//output:-
	//{SSID:5GHz-wifi Mac:44:44:44:44:44:44 Security:wpa2-psk Channel:44,1 Frequency:5220 SignalLevel:-70 MaxRate:300}

Licence

MIT

About

wifi go package will give information about connected wifi.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages