package
1.3.0-rc1
Repository: https://github.com/conornevin/traefik.git
Documentation: pkg.go.dev

# Functions

CanonicalDomain returns a lower case domain with trim space.
NewConstraint receive a string and return a *Constraint, after checking syntax and parsing the constraint expression.
NewLoadBalancerMethod create a new LoadBalancerMethod from a given LoadBalancer.

# Constants

Drr = Dynamic Round Robin.
Wrr (default) = Weighted Round Robin.

# Variables

ErrInvalidLoadBalancerMethod is thrown when the specified load balancing method is invalid.

# Structs

Auth holds authentication configuration (BASIC, DIGEST, users).
Backend holds backend configuration.
Basic HTTP basic authentication.
CircuitBreaker holds circuit breaker configuration.
Cluster holds cluster config.
ConfigMessage hold configuration information exchanged between parts of traefik.
Configuration of a provider.
Constraint hold a parsed constraint expresssion.
Digest HTTP authentication.
Frontend holds frontend configuration.
HealthCheck holds HealthCheck configuration.
LoadBalancer holds load balancing configuration.
MaxConn holds maximum connection configuration.
Metrics provides options to expose and send Traefik metrics to different third party monitoring systems.
Prometheus can contain specific configuration used by the Prometheus Metrics exporter.
Route holds route configuration.
Server holds server configuration.
Statistics provides options for monitoring request and response stats.
Store holds KV store cluster config.

# Type aliases

Buckets holds Prometheus Buckets.
Constraints holds a Constraint parser.
LoadBalancerMethod holds the method of load balancing to use.
Users authentication users.