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 EnumeratePackageVersions ¶ added in v1.20.0
func RepositoryConfig ¶ added in v1.20.0
Types ¶
type SearchResult ¶
type SearchResult struct { Crates []*SearchResultCrate `json:"crates"` Meta SearchResultMeta `json:"meta"` }
type SearchResultCrate ¶
type SearchResultMeta ¶
type SearchResultMeta struct {
Total int64 `json:"total"`
}
type StatusMessage ¶
type StatusMessage struct {
Message string `json:"detail"`
}
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
Click to show internal directories.
Click to hide internal directories.