settings

package
v1.9.1 Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: GPL-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetSystemTime

func SetSystemTime(nowTime time.Time) error

Types

type SystemProxy

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

type WindowsSystemProxy

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

func NewSystemProxy

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

func (*WindowsSystemProxy) Disable

func (p *WindowsSystemProxy) Disable() error

func (*WindowsSystemProxy) Enable

func (p *WindowsSystemProxy) Enable() error

func (*WindowsSystemProxy) IsEnabled

func (p *WindowsSystemProxy) IsEnabled() bool

Jump to

Keyboard shortcuts

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