Versions in this module Expand all Collapse all v0 v0.3.0 Mar 10, 2026 Changes in this version + func DefaultPIDPath() string + func IsRunning(pid int) bool + func ReadPID(pidPath string) (int, error) + func ReloadDaemon(cfgPath, tunnelID, pidPath string) error + func StartDaemon(cfgPath, tunnelID, pidPath string) (int, error) + func StopDaemon(pidPath string) (int, error) + func SyncTunnel(sessions map[string]*caddy.SessionInfo, ...) error + type CloudflaredConfig struct + CredentialsFile string + Ingress []IngressRule + Tunnel string + type IngressRule struct + Hostname string + OriginRequest *OriginRequest + Service string + type OriginRequest struct + HTTPHostHeader string + type TunnelCheckResult struct + BinaryInstalled bool + ConfigError string + ConfigExists bool + ConfigValid bool + DNSError string + DNSValid bool + IngressMismatch bool + MissingRules []string + TunnelExists bool + TunnelExistsError string + func CheckTunnel(sessions map[string]*caddy.SessionInfo, tunnelID, domain, cfgPath string) TunnelCheckResult