Documentation ¶
Index ¶
- Constants
- func CheckAcceptMediaType(requiredAcceptHeader string) func(ctx *context.Context)
- func CheckAuthenticate(ctx *context.Context)
- func DownloadManifest(ctx *context.Context)
- func DownloadPackageFile(ctx *context.Context)
- func EnumeratePackageVersions(ctx *context.Context)
- func LookupPackageIdentifiers(ctx *context.Context)
- func PackageVersionMetadata(ctx *context.Context)
- func UploadPackageFile(ctx *context.Context)
- type EnumeratePackageVersionsResponse
- type LookupPackageIdentifiersResponse
- type PackageVersionMetadataResponse
- type Release
- type Resource
Constants ¶
View Source
const ( AcceptJSON = "application/vnd.swift.registry.v1+json" AcceptSwift = "application/vnd.swift.registry.v1+swift" AcceptZip = "application/vnd.swift.registry.v1+zip" )
Variables ¶
This section is empty.
Functions ¶
func CheckAcceptMediaType ¶
func CheckAuthenticate ¶
func DownloadManifest ¶
func DownloadPackageFile ¶
func PackageVersionMetadata ¶
func UploadPackageFile ¶
Types ¶
type LookupPackageIdentifiersResponse ¶
type LookupPackageIdentifiersResponse struct {
Identifiers []string `json:"identifiers"`
}
type PackageVersionMetadataResponse ¶
type PackageVersionMetadataResponse struct { ID string `json:"id"` Version string `json:"version"` Resources []Resource `json:"resources"` Metadata *swift_module.SoftwareSourceCode `json:"metadata"` }
Click to show internal directories.
Click to hide internal directories.