sysproxy

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2025 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HttpProxySetting

type HttpProxySetting struct {
	Address string
	Port    uint16
}

type HttpsProxySetting

type HttpsProxySetting struct {
	Address string
	Port    uint16
}

type ProxySetting

type ProxySetting struct {
	*SocksProxySetting
	*HttpProxySetting
	*HttpsProxySetting
}

type SocksProxySetting

type SocksProxySetting struct {
	Address string
	Port    uint16
}

type SysProxy

type SysProxy struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func NewSysProxy

func NewSysProxy(ps *ProxySetting) *SysProxy

func (*SysProxy) Close

func (s *SysProxy) Close() error

func (*SysProxy) WithMon

func (s *SysProxy) WithMon(mon i.DefaultInterfaceChangeSubject)

Jump to

Keyboard shortcuts

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