proxy

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2025 License: Apache-2.0 Imports: 1 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProxyConfig

type ProxyConfig struct {
	HttpProxy  string
	HttpsProxy string
	Cacert     string
	NoTls      bool

	// NoProxy is a slice of domains or IPs that should not be proxied through the configured Proxy
	NoProxy []string
}

func (*ProxyConfig) NoProxyAsString added in v1.2.0

func (p *ProxyConfig) NoProxyAsString() string

NoProxyAsString joins the slice of domains and/or IPs on the delimeter "," for easy passing to the configured Probe.

Jump to

Keyboard shortcuts

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