launcher

package
v0.0.0-...-b22edc6 Latest Latest
Warning

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

Go to latest
Published: May 28, 2024 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Launcher

type Launcher struct {
	OpenvpnCh chan []string
	Failed    bool
	MngPass   string
}

func NewLauncher

func NewLauncher() (*Launcher, error)

func (*Launcher) Check

func (l *Launcher) Check() (bool, bool, error)

Check returns: hasHelper, hashPolkitRoot, error

func (*Launcher) Close

func (l *Launcher) Close() error

func (*Launcher) FirewallIsUp

func (l *Launcher) FirewallIsUp() bool

func (*Launcher) FirewallStart

func (l *Launcher) FirewallStart(gateways []bonafide.Gateway) error

func (*Launcher) FirewallStop

func (l *Launcher) FirewallStop() error

func (*Launcher) OpenvpnStart

func (l *Launcher) OpenvpnStart(flags ...string) error

func (*Launcher) OpenvpnStop

func (l *Launcher) OpenvpnStop() error

Jump to

Keyboard shortcuts

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