package
2.4.1
Repository: https://github.com/masipcat/caddy.git
Documentation: pkg.go.dev

# Packages

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).
CookieHashSelection is a policy that selects a host based on a given cookie name.
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.
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.
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.
Host represents a remote host which can be proxied to.
Selector selects an available upstream from the pool.
TLSTransport is implemented by transports that are capable of using TLS.

# Type aliases

UpstreamPool is a collection of upstreams.