package
module
Version:
v0.0.0-...-5b1162a
Opens a new window with list of versions in this module.
Published: Aug 18, 2022
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
README
¶
GetProxies
Get system proxy from Env|Registry|SystemConfiguration
自动获取本地系统代理。
Installation
go get -u github.com/QIN2DIM/getproxies
Example
package main
import "github.com/QIN2DIM/getproxies"
func main() {
proxies := GetProxies()
fmt.Println(proxies["http"])
// http://127.0.0.1:10809
}
Documentation
¶
View Source
const (
Windows = "windows"
Darwin = "darwin"
Linux = "linux"
)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.