Versions in this module Expand all Collapse all v0 v0.2.2 Jan 15, 2025 Changes in this version + var ErrContractNotReserved = fmt.Errorf("a name contract with the given name must be reserved first") + var ErrInvalidContractState = fmt.Errorf("the name contract must be in Created state") + var ErrMetricsNotAvailable = errors.New("metrics not available") + var ErrTwinIDMismatch = fmt.Errorf("twin id mismatch") + func New(ctx context.Context, cl zbus.Client, root string) (pkg.Gateway, error) + type Domain struct + Main string + Sans []string + type HTTPConfig struct + Routers map[string]Router + Services map[string]Service + type LoadBalancer struct + Servers []Server + type ProxyConfig struct + Http *HTTPConfig + TCP *HTTPConfig + type Router struct + Rule string + Service string + Tls *TlsConfig + type Server struct + Address string + Url string + type Service struct + LoadBalancer LoadBalancer + type TlsConfig struct + CertResolver string + Domains []Domain + Passthrough string