daemon_server

package
v1.1.75-nightly Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2025 License: AGPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetUserHomeDir

func GetUserHomeDir() (string, error)

Types

type Proxy

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

func NewProxyWithService

func NewProxyWithService(logResponse bool, ensureAppRunning ...bool) (*Proxy, error)

func (*Proxy) Exit

func (p *Proxy) Exit() error

func (*Proxy) MakeRequest

func (p *Proxy) MakeRequest(path string, params ...[]byte) ([]byte, error)

func (*Proxy) ResetSearchDomain

func (p *Proxy) ResetSearchDomain() ([]byte, error)

func (*Proxy) Restart

func (p *Proxy) Restart() ([]byte, error)

func (*Proxy) SetDns

func (p *Proxy) SetDns(sd string) ([]byte, error)

func (*Proxy) SetSearchDomain

func (p *Proxy) SetSearchDomain(sd string) ([]byte, error)

func (*Proxy) Start

func (p *Proxy) Start() error

func (*Proxy) Status

func (p *Proxy) Status() bool

func (*Proxy) Stop

func (p *Proxy) Stop() ([]byte, error)

func (*Proxy) WgStatus

func (p *Proxy) WgStatus() ([]byte, error)

Jump to

Keyboard shortcuts

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