agentproxy

package
v0.10.2 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HeaderXProxyHost                  = "X-Proxy-Host"
	HeaderXProxyHTTPS                 = "X-Proxy-Https"
	HeaderXProxySkipTLSVerify         = "X-Proxy-Skip-Tls-Verify"
	HeaderXProxyResponseHeaderTimeout = "X-Proxy-Response-Header-Timeout"
)

Variables

This section is empty.

Functions

func SetAgentProxyHeaders

func SetAgentProxyHeaders(r *http.Request, headers *AgentProxyHeaders)

Types

type AgentProxyHeaders

type AgentProxyHeaders struct {
	Host                  string
	IsHTTPS               bool
	SkipTLSVerify         bool
	ResponseHeaderTimeout int
}

Jump to

Keyboard shortcuts

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