proxydetect

package
v0.0.0-...-e06cd52 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNotFound = fmt.Errorf("not found")
View Source
var UserAgent = "proxydetect" // used for autoconfig requests

Functions

func GetProxyForRequest

func GetProxyForRequest(r *http.Request) (*url.URL, error)

func GetProxyForURL

func GetProxyForURL(u *url.URL) (*url.URL, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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