sysproxy

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

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

Manager 管理系统代理设置

func NewManager

func NewManager(log *logger.Logger, httpListenAddr, socksListenAddr string) *Manager

NewManager 创建新的系统代理管理器

func (*Manager) Disable

func (m *Manager) Disable() error

Disable 禁用系统代理

func (*Manager) Enable

func (m *Manager) Enable() error

Enable 启用系统代理

func (*Manager) IsEnabled

func (m *Manager) IsEnabled() bool

IsEnabled 返回代理是否已启用

Jump to

Keyboard shortcuts

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