Versions in this module Expand all Collapse all v0 v0.1.1 May 9, 2026 Changes in this version + type BasicAuth struct + Enabled bool + Realm string + Users map[string]string + type Compress struct + Enabled bool + MinBytes int + type IPAllowList struct + Enabled bool + SourceRange []string + TrustForwardHeader bool type Middleware + BasicAuth *BasicAuth + Compress *Compress + IPAllowList *IPAllowList v0.1.0 May 8, 2026 Changes in this version + func Fingerprint(cfg *Config) (string, error) + func Validate(cfg *Config) error + type Admin struct + Address string + type CORSMiddleware struct + AllowCredentials bool + AllowPrivateNetwork bool + AllowedHeaders []string + AllowedMethods []string + AllowedOrigins []string + Enabled bool + ExposedHeaders []string + MaxAge int + OptionsPassthrough bool + OptionsSuccessStatus int + type CircuitBreaker struct + Enabled bool + FailureThreshold uint32 + Interval string + MaxRequests uint32 + Timeout string + type Config struct + Admin *Admin + Entrypoints []Entrypoint + Health *Health + Middlewares []Middleware + Observability *Observability + Routes []Route + Security *Security + Services []Service + func Default() *Config + func Merge(configs ...*Config) *Config + func MergeList(configs *collectionlist.List[*Config]) *Config + type Endpoint struct + URL string + Weight int + type Entrypoint struct + ACME *EntrypointACME + Address string + Name string + TLS *EntrypointTLS + type EntrypointACME struct + CacheDir string + Domains []string + Email string + Enabled bool + type EntrypointTLS struct + CertFile string + Enabled bool + KeyFile string + type Health struct + Interval string + Timeout string + type Middleware struct + AddPrefix string + CORS *CORSMiddleware + Chain []string + CircuitBreaker *CircuitBreaker + MaxBodyBytes int64 + Name string + RateLimit *RateLimit + RedirectPermanent bool + RedirectPort string + RedirectRegex string + RedirectReplacement string + RedirectScheme string + ReplacePath string + ReplacePathRegex string + ReplacePathReplacement string + RequestHeaders map[string]string + ResponseHeaders map[string]string + Secure *SecureMiddleware + StripPrefix string + StripPrefixes []string + Type string + type Observability struct + AccessLog bool + Metrics bool + type RateLimit struct + Burst int + Enabled bool + Rate float64 + type Route struct + Entrypoint string + Headers map[string]string + Host string + Method string + Middlewares []string + Name string + PathPrefix string + Service string + type SecureMiddleware struct + AllowedHosts []string + AllowedHostsAreRegex bool + BrowserXSSFilter bool + ContentSecurityPolicy string + ContentSecurityPolicyReportOnly string + ContentTypeNosniff bool + Enabled bool + FrameDeny bool + PermissionsPolicy string + ReferrerPolicy string + SSLHost string + SSLRedirect bool + SSLTemporaryRedirect bool + STSIncludeSubdomains bool + STSPreload bool + STSSeconds int64 + type Security struct + IdleTimeout string + MaxBodyBytes int64 + MaxHeaderBytes int + ReadHeaderTimeout string + ReadTimeout string + WriteTimeout string + type Service struct + Endpoints []Endpoint + Name string + Strategy string