package
2.5.2
Repository: https://github.com/threefx/caddy.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# Functions

GetDialInfo gets the upstream dialing info out of the context, and returns true if there was a valid value; false otherwise.

# Structs

ActiveHealthChecks holds configuration related to active health checks (that is, health checks which occur in a background goroutine independently).
AUpstreams provides upstreams from A/AAAA lookups.
CookieHashSelection is a policy that selects a host based on a given cookie name.
CopyResponseHandler is a special HTTP handler which may only be used within reverse_proxy's handle_response routes, to copy the proxy response.
CopyResponseHeadersHandler is a special HTTP handler which may only be used within reverse_proxy's handle_response routes, to copy headers from the proxy response.
DialError is an error that specifically occurs in a call to Dial or DialContext.
DialInfo contains information needed to dial a connection to an upstream host.
FirstSelection is a policy that selects the first available host.
Handler implements a highly configurable and production-ready reverse proxy.
HeaderHashSelection is a policy that selects a host based on a given request header.
HealthChecks configures active and passive health checks.
Host is the basic, in-memory representation of the state of a remote host.
HTTPTransport is essentially a configuration wrapper for http.Transport.
IPHashSelection is a policy that selects a host based on hashing the remote IP of the request.
KeepAlive holds configuration pertaining to HTTP Keep-Alive.
LeastConnSelection is a policy that selects the host with the least active requests.
LoadBalancing has parameters related to load balancing.
PassiveHealthChecks holds configuration related to passive health checks (that is, health checks which occur during the normal flow of request proxying).
RandomChoiceSelection is a policy that selects two or more available hosts at random, then chooses the one with the least load.
RandomSelection is a policy that selects an available host at random.
RoundRobinSelection is a policy that selects a host based on round-robin ordering.
SRVUpstreams provides upstreams from SRV lookups.
TLSConfig holds configuration related to the TLS configuration for the transport/client.
Upstream bridges this proxy's configuration to the state of the backend host it is correlated with.
UpstreamResolver holds the set of addresses of DNS resolvers of upstream addresses.
URIHashSelection is a policy that selects a host by hashing the request URI.

# Interfaces

CircuitBreaker is a type that can act as an early-warning system for the health checker when backends are getting overloaded.
Selector selects an available upstream from the pool.
TLSTransport is implemented by transports that are capable of using TLS.
UpstreamSource gets the list of upstreams that can be used when proxying a request.

# Type aliases

UpstreamPool is a collection of upstreams.