Versions in this module Expand all Collapse all v0 v0.1.0 Jul 22, 2026 Changes in this version + func AssetName(component Component, goos, goarch string) (string, error) + func CacheDir(version string) (string, error) + func CurrentAssetName(component Component) (string, error) + func DefaultBinDir() (string, error) + func InstalledName(component Component) string + func ParseChecksums(r io.Reader) (map[string]string, error) + type Asset struct + BrowserDownloadURL string + Name string + Size int64 + type Client struct + APIBase string + HTTPClient *http.Client + Owner string + Repository string + Token string + func NewClientFromEnv() (*Client, error) + func (c *Client) Install(ctx context.Context, component Component, version, destinationDir string) (InstallResult, error) + func (c *Client) Resolve(ctx context.Context, version string) (Release, error) + type Component string + const ComponentPT + const ComponentServer + type InstallResult struct + Checksum string + Component Component + Path string + Version string + type Release struct + Assets []Asset + TagName string + func (r Release) Asset(name string) (Asset, bool)