Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AURURL = "https://aur.archlinux.org/rpc.php?"
AURURL is the base string from which the query is built
ErrServiceUnavailable represents a error when AUR is unavailable
Functions ¶
This section is empty.
Types ¶
type Pkg ¶
type Pkg struct {
ID int `json:"ID"`
Name string `json:"Name"`
PackageBaseID int `json:"PackageBaseID"`
PackageBase string `json:"PackageBase"`
Version string `json:"Version"`
Description string `json:"Description"`
URL string `json:"URL"`
NumVotes int `json:"NumVotes"`
Popularity float64 `json:"Popularity"`
OutOfDate int `json:"OutOfDate"`
Maintainer string `json:"Maintainer"`
FirstSubmitted int `json:"FirstSubmitted"`
LastModified int `json:"LastModified"`
URLPath string `json:"URLPath"`
Depends []string `json:"Depends"`
MakeDepends []string `json:"MakeDepends"`
CheckDepends []string `json:"CheckDepends"`
Conflicts []string `json:"Conflicts"`
Provides []string `json:"Provides"`
Replaces []string `json:"Replaces"`
OptDepends []string `json:"OptDepends"`
Groups []string `json:"Groups"`
License []string `json:"License"`
Keywords []string `json:"Keywords"`
CoMaintainers []string `json:"CoMaintainers"`
}
Pkg holds package information
Click to show internal directories.
Click to hide internal directories.