package
Version:
v3.0.0
Opens a new window with list of versions in this module.
Published: Mar 17, 2025
License: Apache-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func GetCallback(proxy string, noProxy string) func(*http.Request) (*url.URL, error)
GetCallback returns the proxy callback function
func UpsertEnv(cmd *exec.Cmd, proxy string, noProxy string) []string
UpsertEnv removes the existing proxy env variables and adds the custom proxy variables
Source Files
¶
Click to show internal directories.
Click to hide internal directories.