packages

package
v1.9.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 20, 2026 License: MIT Imports: 13 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DownloadPackage

func DownloadPackage(ac *client.AlpaconClient, fileName string, dest string, packageType string) error

func GetPackageIDByName

func GetPackageIDByName(ac *client.AlpaconClient, fileName string, packageType string) (string, error)

func UploadPackage

func UploadPackage(ac *client.AlpaconClient, file string, packageType string) error

Types

type DownloadURL

type DownloadURL struct {
	DownloadURL string `json:"download_url"`
}

type PythonPackage

type PythonPackage struct {
	Name         string `json:"name"`
	Version      string `json:"version"`
	PythonTarget string `json:"python_target"`
	ABI          string `json:"abi"`
	Platform     string `json:"platform"`
	Owner        string `json:"owner"`
}

func GetPythonPackageEntry

func GetPythonPackageEntry(ac *client.AlpaconClient) ([]PythonPackage, error)

type PythonPackageDetail

type PythonPackageDetail struct {
	ID          string            `json:"id"`
	Name        string            `json:"name"`
	Version     string            `json:"version"`
	Target      string            `json:"target"`
	ABI         string            `json:"abi"`
	Platform    string            `json:"platform"`
	Filesize    int64             `json:"filesize"`
	Owner       types.UserSummary `json:"owner"`
	AddedAt     string            `json:"added_at"`
	DownloadURL string            `json:"download_url"`
}

type SystemPackage

type SystemPackage struct {
	Name     string `json:"name"`
	Version  string `json:"version"`
	Arch     string `json:"arch"`
	Platform string `json:"platform"`
	Owner    string `json:"owner"`
}

func GetSystemPackageEntry

func GetSystemPackageEntry(ac *client.AlpaconClient) ([]SystemPackage, error)

type SystemPackageDetail

type SystemPackageDetail struct {
	ID          string            `json:"id"`
	Name        string            `json:"name"`
	Version     string            `json:"version"`
	Platform    string            `json:"platform"`
	Arch        string            `json:"arch"`
	Filesize    int64             `json:"filesize"`
	Owner       types.UserSummary `json:"owner"`
	AddedAt     string            `json:"added_at"`
	DownloadURL string            `json:"download_url"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL