Versions in this module Expand all Collapse all v0 v0.5.0 Oct 11, 2026 Changes in this version + const AuthAlways + const AuthAuto + const AuthNone + const DefaultGatewayPort + const HostPreserve + const HostUpstream + const MaxGroupLen + const ModePath + const ModeSubdomain + const PostureAuto + const PosturePublished + const ProviderCloudflare + const ServicePlaceholder + func DisplayHost(addr string) string + func ExpandEnv(env map[string]string, base func(string) (string, bool)) map[string]string + func GatewayPort(n int) *int + func InternalLogPath(name string) string + func ProjectGroupName(dir string) string + func SaveGatewayExpose(src Source, names []string, exposed bool) error + func SaveTunnel(src Source, t TunnelConfig) (string, error) + func StoredCWD(src Source, cwd string) string + func StoredGroup(src Source, name string) string + type GatewayConfig struct + Auth string + Bind string + Expose []string + HostHeader string + Mode string + Port *int + Posture string + PublicHostname string + Routes map[string]GatewayRoute + func (g *GatewayConfig) Defaults() GatewayConfig + func (g *GatewayConfig) SetExposed(names []string, exposed bool) bool + func (g *GatewayConfig) Validate() error + func (g GatewayConfig) Addr() string + func (g GatewayConfig) ExposedSet() []string + func (g GatewayConfig) LocalAllowlistApplies() bool + func (g GatewayConfig) LocalLinksByPath(host string) bool + type GatewayRoute struct + Service string + Strip bool + func (r *GatewayRoute) UnmarshalYAML(value *yaml.Node) error + type GatewayState struct + Addr string + Config GatewayConfig + PID int + Token string type ProjectConfig + Gateway *GatewayConfig + Tunnel *TunnelConfig type ProjectServiceConfig + Group string + Port int type Registry + Gateway *GatewayConfig + Tunnel *TunnelConfig type ServiceConfig + Port int type State + Gateway *GatewayState + Tunnel *TunnelState + type TunnelConfig struct + Hostname string + Name string + Provider string + func (t *TunnelConfig) Defaults() TunnelConfig + func (t *TunnelConfig) Validate() error + func (t TunnelConfig) IsQuick() bool + type TunnelState struct + Config TunnelConfig + Kind string + Origin string + PID int + PublicURL string v0.5.0-rc.1 Oct 9, 2026 v0.4.0 Oct 1, 2026 Changes in this version + func SafeFileName(name string) bool + func ValidateName(kind, name string) error v0.4.0-rc.1 Sep 3, 2026 v0.3.0 Sep 2, 2026 Changes in this version + const ProjectFileName + func ConfigDir() string + func DaemonPIDPath() string + func DataDir() string + func LogPath(name string) string + func ReAdoptServices(services map[string]*ServiceState) + func RegistryPath() string + func RemoveService(src Source, name string) error + func Resolve(dir string, global bool) (*Registry, Source, error) + func SaveProject(dir string, p *ProjectConfig) error + func SaveRegistry(path string, reg *Registry) error + func SaveServiceEdit(src Source, oldName, newName, command, cwd string) error + func SaveState(path string, s *State) error + func SaveTargetEdit(src Source, oldName, newName string, members []string) error + func SocketPath() string + func SortedTargetNames(targets map[string][]string) []string + func StatePath() string + type ProjectConfig struct + Name string + Services map[string]*ProjectServiceConfig + Targets map[string][]string + func LoadProject(dir string) (*ProjectConfig, error) + func (p *ProjectConfig) ToServiceConfigs(dir string) map[string]*ServiceConfig + type ProjectServiceConfig struct + CWD string + Command string + Desc string + Env map[string]string + func (c *ProjectServiceConfig) Validate() error + type Registry struct + Services map[string]*ServiceConfig + Targets map[string][]string + Version string + func LoadRegistry(path string) (*Registry, error) + func (r *Registry) TargetMemberConfigs(name string) []*ServiceConfig + type ServiceConfig struct + CWD string + Command string + Desc string + Env map[string]string + Group string + Name string + func (c *ServiceConfig) Validate() error + type ServiceState struct + LastExitCode *int + PID *int + Port *int + ReAdopted bool + StartedAt *time.Time + Status ServiceStatus + type ServiceStatus string + const StatusCrashed + const StatusExited + const StatusRunning + const StatusStarting + const StatusStopped + const StatusStopping + func (s ServiceStatus) IsLive() bool + type Source struct + Dir string + Local string + func (s Source) IsLocal() bool + type State struct + ActiveTargets map[string][]string + Services map[string]*ServiceState + Version int + func LoadState(path string) (*State, error) v0.3.0-rc.1 Aug 30, 2026 v0.2.0 Jun 25, 2026 v0.1.1 Jun 23, 2026 v0.1.0 Mar 23, 2026