Versions in this module Expand all Collapse all v0 v0.2.2 Nov 29, 2026 v0.2.1 Nov 22, 2026 v0.2.0 Sep 15, 2026 v0.1.0 Sep 15, 2026 v0.0.1 Sep 14, 2026 Changes in this version + const DefaultHost + var ErrRepositoryNotFound = errors.New("repository not found") + func RepoURLFromString(str string) (string, error) + type Asset struct + Arch string + Author string + CreatedAt time.Time + DownloadURL string + Host string + Label string + Name string + Org string + Os string + Repo string + Size int + UpdatedAt time.Time + Version string + func NewAssetFromURLString(urlString string) *Asset + func (a *Asset) GetAuthor() string + func (a *Asset) GetCreatedAt() time.Time + func (a *Asset) GetDownloadURL() string + func (a *Asset) GetHost() string + func (a *Asset) GetLabel() string + func (a *Asset) GetName() string + func (a *Asset) GetOrg() string + func (a *Asset) GetRepo() string + func (a *Asset) GetRepoURL() string + func (a *Asset) GetSize() int + func (a *Asset) GetUpdatedAt() time.Time + func (a *Asset) GetVersion() string + type AssetDataProvider interface + GetAuthor func() string + GetCreatedAt func() time.Time + GetDownloadURL func() string + GetLabel func() string + GetName func() string + GetSize func() int + GetUpdatedAt func() time.Time + type Client struct + Options Options + func New() (*Client, error) + func (c *Client) GetRepository(rdata RepoDataProvider) (*Repository, error) + func (c *Client) LatestRelease(rdata RepoDataProvider) (ReleaseDataProvider, error) + func (c *Client) ListReleaseAssets(rdata ReleaseDataProvider) ([]AssetDataProvider, error) + func (c *Client) ListReleaseInstallables(rdata ReleaseDataProvider) ([]AssetDataProvider, error) + func (c *Client) ListReleases(rdata RepoDataProvider) ([]ReleaseDataProvider, error) + type Installable struct + Arch string + Author string + CreatedAt time.Time + DownloadURL string + Host string + Label string + Name string + Org string + Os string + Repo string + Size int + UpdatedAt time.Time + Variants []*Asset + Version string + func (i *Installable) GetArchVariants() []string + func (i *Installable) GetArchiveTypes() []string + func (i *Installable) GetAuthor() string + func (i *Installable) GetCreatedAt() time.Time + func (i *Installable) GetDownloadURL() string + func (i *Installable) GetHost() string + func (i *Installable) GetLabel() string + func (i *Installable) GetName() string + func (i *Installable) GetOrg() string + func (i *Installable) GetOsVariants() []string + func (i *Installable) GetPackageTypes() []string + func (i *Installable) GetRepo() string + func (i *Installable) GetRepoURL() string + func (i *Installable) GetSize() int + func (i *Installable) GetUpdatedAt() time.Time + func (i *Installable) GetVersion() string + func (i *Installable) LocalVariant() *Asset + type Options struct + Host string + type Release struct + Author string + CreatedAt time.Time + Host string + ID int64 + Org string + PreRelease bool + Repo string + Version string + func (r *Release) GetAuthor() string + func (r *Release) GetCreatedAt() time.Time + func (r *Release) GetHost() string + func (r *Release) GetOrg() string + func (r *Release) GetRepo() string + func (r *Release) GetRepoURL() string + func (r *Release) GetVersion() string + type ReleaseDataProvider interface + GetAuthor func() string + GetCreatedAt func() time.Time + GetVersion func() string + type RepoDataProvider interface + GetHost func() string + GetOrg func() string + GetRepo func() string + GetRepoURL func() string + type Repository struct + Host string + Org string + Repo string + func (r *Repository) GetHost() string + func (r *Repository) GetOrg() string + func (r *Repository) GetRepo() string + func (r *Repository) GetRepoURL() string v0.0.1-pre9 Apr 7, 2025 v0.0.1-pre8 Apr 2, 2025 v0.0.1-pre7 Apr 2, 2025 v0.0.1-pre6 Apr 2, 2025 v0.0.1-pre5 Apr 2, 2025 v0.0.1-pre4 Apr 2, 2025 v0.0.1-pre3 Apr 2, 2025 v0.0.1-pre2 Apr 2, 2025 v0.0.1-pre1 Apr 2, 2025