Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
ErrServiceUnavailable represents a error when AUR is unavailable.
Functions ¶
func GetErrorByStatusCode ¶ added in v1.2.0
Types ¶
type HTTPRequestDoer ¶
HTTPRequestDoer performs HTTP requests. The standard http.Client implements this interface.
type PayloadError ¶
func (*PayloadError) Error ¶
func (r *PayloadError) Error() string
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"` Submitter string `json:"Submitter"` 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.
type QueryClient ¶ added in v1.2.0
HTTPRequestDoer performs HTTP requests. The standard http.Client implements this interface.
Click to show internal directories.
Click to hide internal directories.