proxy

package
v2.13.1 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2024 License: Apache-2.0 Imports: 6 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCallback

func GetCallback(proxy string, noProxy string) func(*http.Request) (*url.URL, error)

GetCallback returns the proxy callback function

func UpsertEnv

func UpsertEnv(cmd *exec.Cmd, proxy string, noProxy string) []string

UpsertEnv removes the existing proxy env variables and adds the custom proxy variables

Types

This section is empty.

Jump to

Keyboard shortcuts

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