app

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Overview

Package app exports a D-Bus object to apply proxy settings.

Index

Constants

This section is empty.

Variables

View Source
var (
	// Version is the version of the program.
	Version = "dev"
)

Functions

This section is empty.

Types

type App

type App struct {
	// contains filtered or unexported fields
}

App is the main application object.

func New

func New(args ...option) (a *App, err error)

New creates a new App object.

func (*App) Quit

func (a *App) Quit()

Quit signals the application to stop, waiting for current operations to finish.

func (*App) Wait

func (a *App) Wait() error

Wait blocks until the all operations are done, returning a joined representation of all errors that occurred during the runs.

Jump to

Keyboard shortcuts

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