Documentation
¶
Index ¶
- func DownloadPackageFile(ctx *context.Context)
- func EnumeratePackageVersions(ctx *context.Context)
- func ListOwners(ctx *context.Context)
- func RepositoryConfig(ctx *context.Context)
- func SearchPackages(ctx *context.Context)
- func UnyankPackage(ctx *context.Context)
- func UploadPackage(ctx *context.Context)
- func YankPackage(ctx *context.Context)
- type OwnerUser
- type Owners
- type SearchResult
- type SearchResultCrate
- type SearchResultMeta
- type StatusMessage
- type StatusResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DownloadPackageFile ¶
DownloadPackageFile serves the content of a package
func RepositoryConfig ¶
func SearchPackages ¶
https://doc.rust-lang.org/cargo/reference/registries.html#search
func UnyankPackage ¶
https://doc.rust-lang.org/cargo/reference/registries.html#unyank
func UploadPackage ¶
https://doc.rust-lang.org/cargo/reference/registries.html#publish
func YankPackage ¶
https://doc.rust-lang.org/cargo/reference/registries.html#yank
Types ¶
type OwnerUser ¶
type SearchResult ¶
type SearchResult struct {
Crates []*SearchResultCrate `json:"crates"`
Meta SearchResultMeta `json:"meta"`
}
type SearchResultCrate ¶
type StatusResponse ¶
type StatusResponse struct {
OK bool `json:"ok"`
Errors []StatusMessage `json:"errors,omitempty"`
}
https://doc.rust-lang.org/cargo/reference/registries.html#web-api
Source Files
¶
- cargo.go
Click to show internal directories.
Click to hide internal directories.