settings

package
v1.11.0-alpha.21 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2024 License: GPL-2.0 Imports: 11 Imported by: 12

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetSystemTime added in v1.2.0

func SetSystemTime(nowTime time.Time) error

Types

type LinuxSystemProxy added in v1.4.3

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

func NewSystemProxy added in v1.4.3

func NewSystemProxy(ctx context.Context, serverAddr M.Socksaddr, supportSOCKS bool) (*LinuxSystemProxy, error)

func (*LinuxSystemProxy) Disable added in v1.4.3

func (p *LinuxSystemProxy) Disable() error

func (*LinuxSystemProxy) Enable added in v1.4.3

func (p *LinuxSystemProxy) Enable() error

func (*LinuxSystemProxy) IsEnabled added in v1.4.3

func (p *LinuxSystemProxy) IsEnabled() bool

type SystemProxy added in v1.4.3

type SystemProxy interface {
	IsEnabled() bool
	Enable() error
	Disable() error
}

Jump to

Keyboard shortcuts

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