proxy

package
v2.4.2 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2024 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetProxy

func GetProxy(protocol string, proxyURL string) (func(*http.Request) (*url.URL, error), error)

GetProxy returns a proxy function for the passed in protocol and proxy URL if any Reads the HTTP_PROXY and HTTPS_PROXY environment variables if no proxy URL was passed in

Types

This section is empty.

Jump to

Keyboard shortcuts

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