utils

package
v0.0.0-...-ec4ecb9 Latest Latest
Warning

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

Go to latest
Published: May 24, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetWifiPort

func GetWifiPort() string

GetWifiPort gets the correct device id for wifi commands

func HandleError

func HandleError(err error)

HandleError prints ands ends program if err is not nil

func ListWifiNetworks

func ListWifiNetworks() []string

ListWifiNetworks returns list of wifi network names

func Prompt

func Prompt(msg string, isPassword bool) (string, error)

Prompt shows `msg` and accepts input

Types

This section is empty.

Jump to

Keyboard shortcuts

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