Versions in this module Expand all Collapse all v0 v0.2.11 Oct 19, 2026 Changes in this version + func SpawnRestart(name, workDir, configFile, logPath string) error v0.2.9 Aug 16, 2026 v0.2.7 Aug 16, 2026 v0.2.6 Aug 15, 2026 Changes in this version + func ClearWebSettings(ryshDir, session string) (bool, error) + func SaveWebSettings(ryshDir, session string, s WebSettings) error + func UpdateWebMeta(cfg config.Config, name string, meta WebMeta) + func WebSettingsPath(ryshDir, session string) string type Record + WebHost string + WebPublicURL string + WebUser string + type WebMeta struct + Host string + Port int + PublicURL string + User string + type WebSettings struct + AutoStart bool + Host string + Ngrok bool + NgrokDomain string + Port int + SharedHost string + SharedPort int + UpdatedAt time.Time + func LoadWebSettings(ryshDir, session string) (WebSettings, error) + func (s WebSettings) Configured() bool + func (s WebSettings) PublishPort() int v0.2.5 Aug 9, 2026 v0.2.4 Aug 9, 2026 v0.2.3 Aug 8, 2026 Changes in this version + func DegradationSummary(rec Record, notes []string) string + func EnsureCanOpen(rec Record, want string) ([]string, error) + func UpdateWebEndpoint(cfg config.Config, name string, port int) type Record + WebPort int v0.1.4 Jul 27, 2026 v0.1.3 Jul 27, 2026 v0.1.2 Jul 27, 2026 v0.1.1 Jul 27, 2026 v0.1.0 Jul 27, 2026 Changes in this version + const SourceApp + const SourceCLI + func EnsureSourceMatch(rec Record, want string) error + func FrontendName(source string) string + func NormalizeSource(s string) string + func ProcessAlive(pid int) bool + func SpawnDaemon(name, workDir, configFile string) error + func Terminate(pid int, grace time.Duration) error + func UpdateAppClients(cfg config.Config, name string, n int) + func UpdateProxyPort(cfg config.Config, name string, port int) + type ReapAction struct + Killed bool + Name string + Reason string + type ReapOptions struct + NATSProbeAttempts int + NATSProbeTimeout time.Duration + StartupGrace time.Duration + type Record struct + AppClients int + BinHash string + ConfigFile string + NATSPort int + Name string + PID int + Path string + ProxyPort int + RyshDir string + Source string + State string + TUIPIDs []int + UpdatedAt time.Time + Version string + func SelfHeal(existing Record, found bool, self Record) (healed Record, changed bool) + func WaitReady(store *Store, name string, timeout time.Duration) (Record, error) + func (r *Record) AddTUIPID(pid int) + func (r *Record) AliveTUIPIDs() []int + func (r *Record) CleanStalePIDs() + func (r *Record) DaemonAlive() bool + func (r *Record) HasAliveTUIs() bool + func (r *Record) RemoveTUIPID(pid int) + type Store struct + func NewStore(cfg config.Config) (*Store, error) + func (s *Store) Delete(name string) error + func (s *Store) Get(name string) (Record, error) + func (s *Store) List() ([]Record, error) + func (s *Store) Reap(opts ReapOptions) ([]ReapAction, error) + func (s *Store) Upsert(record Record) (Record, error)