package
0.0.0-20240823171402-3d22d6da4128
Repository: https://github.com/mholt/caddy-l4.git
Documentation: pkg.go.dev
# Structs
ActiveHealthChecks holds configuration related to active health checks (that is, health checks which occur independently in a background goroutine).
FirstSelection is a policy that selects the first available host.
Handler is a handler that can proxy connections.
HealthChecks configures active and passive health checks.
IPHashSelection is a policy that selects a host based on hashing the remote IP of the connection.
LeastConnSelection is a policy that selects the upstream with the least active connections.
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 connection 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.
Upstream represents a proxy upstream.
# Interfaces
Selector selects an available upstream from the pool.
# Type aliases
UpstreamPool is a collection of upstreams.