Versions in this module Expand all Collapse all v0 v0.1.1 Feb 9, 2022 v0.1.0 Feb 9, 2022 Changes in this version + const EndpointURL + var ErrBadGateway = errors.New("bad gateway") + var ErrFilenameAlreadyTaken = errors.New("filename has already been taken") + func NewUploadRequest(url string, params map[string]string, paramName, path string) (*http.Request, error) + type Client struct + func NewClient(token string) (*Client, error) + func (c *Client) ShowProgress(show bool) + func (c Client) All(ctx context.Context, repo string) ([]Package, error) + func (c Client) CreatePackage(ctx context.Context, repo, distro, pkgFile string) error + func (c Client) Destroy(ctx context.Context, repo, packageFilename string) error + func (c Client) Search(ctx context.Context, repo, q, filter, dist string, perPage int) ([]Package, error) + type Package struct + DistroVersion string + Filename string + Name string + PackageHtmlUrl string + PackageUrl string + Release string + Type string + Version string + type Target struct + Distro string + Repo string + func NewTarget(s string) (*Target, error) + func (t Target) String() string