app

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2024 License: Apache-2.0, BSD-2-Clause-Views, BSD-3-Clause, + 4 more Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

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

func NewApp

func NewApp(name string, config *cfg.Config, startOnDomReady bool) (*App, error)

NewApp initializes the app.

func (*App) BeforeClose added in v0.6.0

func (a *App) BeforeClose(ctx context.Context) bool

func (*App) ExportCustomFilterLists added in v0.6.0

func (a *App) ExportCustomFilterLists() error

ExportCustomFilterListsToFile exports the custom filter lists to a file.

func (*App) ImportCustomFilterLists added in v0.6.0

func (a *App) ImportCustomFilterLists() error

ImportCustomFilterLists imports the custom filter lists from a file.

func (*App) OpenLogsDirectory added in v0.6.0

func (a *App) OpenLogsDirectory() error

func (*App) StartProxy

func (a *App) StartProxy() (err error)

StartProxy starts the proxy.

func (*App) Startup

func (a *App) Startup(ctx context.Context)

func (*App) StopProxy

func (a *App) StopProxy() (err error)

StopProxy stops the proxy.

func (*App) UninstallCA

func (a *App) UninstallCA() error

UninstallCA uninstalls the CA.

Jump to

Keyboard shortcuts

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