proxy

package
v2.8.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2023 License: Apache-2.0 Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCallback

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

GetCallback returns the proxy callback function

func UpsertEnv

func UpsertEnv(cmd *exec.Cmd, proxy 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