app

package
v0.18.1 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2026 License: Apache-2.0, BSD-2-Clause-Views, BSD-3-Clause, + 4 more Imports: 27 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

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

func (*App) ExportCustomFilterLists

func (a *App) ExportCustomFilterLists() error

ExportCustomFilterListsToFile exports the custom filter lists to a file.

func (*App) ImportCustomFilterLists

func (a *App) ImportCustomFilterLists() error

ImportCustomFilterLists imports the custom filter lists from a file.

func (*App) IsNoSelfUpdate

func (a *App) IsNoSelfUpdate() bool

func (*App) OnSecondInstanceLaunch added in v0.11.2

func (a *App) OnSecondInstanceLaunch(secondInstanceData options.SecondInstanceData)

func (*App) OpenLogsDirectory

func (a *App) OpenLogsDirectory() error

func (*App) RestartApplication added in v0.13.0

func (a *App) RestartApplication() 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