Versions in this module Expand all Collapse all v0 v0.4.0 Jul 31, 2026 v0.3.1 Jul 2, 2026 Changes in this version + func Comparable(v string) bool — linux/amd64 + func Download(ctx context.Context, url, dir string) (string, error) — linux/amd64 + func ExtractBinary(tarball, dest string) error — linux/amd64 + func IsReexec() bool — linux/amd64 + func ListenerFromFD(fd int, name string) (net.Listener, error) — linux/amd64 + func Newer(candidate, current string) bool — linux/amd64 + func SmokeTest(bin, wantVer string) error — linux/amd64 + func VerifyChecksum(path, wantName string, checksums []byte) error — linux/amd64 + type Config struct — linux/amd64 + BaseURL string + Current string + Interval time.Duration + Poll bool + RepoSlug string + Window *Window + func LoadConfig(current string) (Config, error) + func (c Config) AutoEnabled() bool + type Coordinator struct — linux/amd64 + func NewCoordinator(cfg Config, r *repo.Repo, gate *api.Gate, installPath, root string, ...) *Coordinator + func (co *Coordinator) Gate() *api.Gate + func (co *Coordinator) HandleUpgrade(req protocol.Request, send func(protocol.Response) error) + func (co *Coordinator) Run(ctx context.Context) + type ProcManifest struct — linux/amd64 + Args []string + Log string + PID int + Started int64 + type Release struct — linux/amd64 + ChecksumsURL string + TarballURL string + Version string + type ResumeState struct — linux/amd64 + HTTPFD int + LockFD int + Procs []ProcManifest + ProcsPath string + SockFD int + func ReadResumeState() (ResumeState, error) + type Source interface — linux/amd64 + Latest func(ctx context.Context) (Release, error) + Resolve func(ctx context.Context, version string) (Release, error) + func NewSource(c Config) Source + type Staged struct — linux/amd64 + Path string + Version string + func Stage(ctx context.Context, src Source, rel Release, installPath string) (Staged, error) + type Window struct — linux/amd64 + EndMin int + StartMin int + func ParseWindow(s string) (*Window, error) + func (w *Window) Contains(t time.Time) bool