Versions in this module Expand all Collapse all v1 v1.0.0 Oct 10, 2023 Changes in this version + const PQKex + const PQKexName + func NewIPAddrFallback(maxRetries uint8) *ipAddrFallback + func NewTunnelsForHA() tunnelsForHA + func StartTunnelDaemon(ctx context.Context, config *TunnelConfig, ...) error + type ConnAwareLogger struct + func NewConnAwareLogger(logger *zerolog.Logger, tracker *tunnelstate.ConnTracker, ...) *ConnAwareLogger + func (c *ConnAwareLogger) ConnAwareLogger() *zerolog.Event + func (c *ConnAwareLogger) Logger() *zerolog.Logger + func (c *ConnAwareLogger) ReplaceLogger(logger *zerolog.Logger) *ConnAwareLogger + type ConnectivityError struct + func NewConnectivityError(hasReachedMaxRetries bool) *ConnectivityError + func (e *ConnectivityError) Error() string + func (e *ConnectivityError) HasReachedMaxRetries() bool + type EdgeAddrHandler interface + ShouldGetNewAddress func(connIndex uint8, err error) (needsNewAddress bool, connectivityError error) + type EdgeTunnelServer struct + func (e *EdgeTunnelServer) Serve(ctx context.Context, connIndex uint8, protocolFallback *protocolFallback, ...) error + type Incident struct + ID string + Name string + Updates []IncidentUpdate + func (i Incident) URL() string + type IncidentLookup interface + ActiveIncidents func() []Incident + func NewIncidentLookup() IncidentLookup + type IncidentUpdate struct + Body string + type ReconnectSignal struct + Delay time.Duration + func (r ReconnectSignal) DelayBeforeReconnect() + func (r ReconnectSignal) Error() string + type StatusPage struct + Incidents []Incident + type Supervisor struct + func NewSupervisor(config *TunnelConfig, orchestrator *orchestration.Orchestrator, ...) (*Supervisor, error) + func (s *Supervisor) Run(ctx context.Context, connectedSignal *signal.Signal) error + type TunnelConfig struct + ClientID string + CloseConnOnce *sync.Once + DisableQUICPathMTUDiscovery bool + EdgeAddrs []string + EdgeBindAddr net.IP + EdgeIPVersion allregions.ConfigIPVersion + EdgeTLSConfigs map[connection.Protocol]*tls.Config + FeatureSelector *features.FeatureSelector + GracePeriod time.Duration + HAConnections int + IncidentLookup IncidentLookup + IsAutoupdated bool + LBPool string + Log *zerolog.Logger + LogTransport *zerolog.Logger + MaxEdgeAddrRetries uint8 + NamedTunnel *connection.NamedTunnelProperties + NeedPQ bool + OSArch string + Observer *connection.Observer + PacketConfig *ingress.GlobalRouterConfig + ProtocolSelector connection.ProtocolSelector + Region string + ReplaceExisting bool + ReportedVersion string + Retries uint + RunFromTerminal bool + Tags []tunnelpogs.Tag + UDPUnregisterSessionTimeout time.Duration + func (c *TunnelConfig) SupportedFeatures() []string + type TunnelServer interface + Serve func(ctx context.Context, connIndex uint8, protocolFallback *protocolFallback, ...) error