sysproxy

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2022 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetSystemProxy

func SetSystemProxy(p *ProxyConfig) error

SetSystemProxy is ...

Types

type ProxyConfig

type ProxyConfig struct {
	Enable bool
	Server string
}

ProxyConfig is ...

var SavedProxy *ProxyConfig

SavedProxy is ...

func GetCurrentProxy

func GetCurrentProxy() (*ProxyConfig, error)

GetCurrentProxy is ...

func GetSavedProxy

func GetSavedProxy() *ProxyConfig

GetSavedProxy is ...

func (*ProxyConfig) String

func (c *ProxyConfig) String() string

Jump to

Keyboard shortcuts

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