Documentation ¶
Index ¶
- func CheckSystemApps()
- func Configs() []string
- func InArray(val string, array []string) bool
- func PublicIP() (string, error)
- func PublicKey(wg string) string
- func Select(question string, choices []string) string
- func SudoExec(command string) (string, error)
- func WGConnections() []string
- func WGStatus() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Configs ¶
func Configs() []string
Configs will return a slice of available wireguard interface configs
func SudoExec ¶
SudoExec will run a particular comand and return the output or an error. All commands are run via sudo.
func WGConnections ¶
func WGConnections() []string
WGConnections return running connection interfaces
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.