Help us shape the future of Go! Take the 2026 Go Developer Survey

maven

package
v3.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 20, 2026 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DownloadPackageFile

func DownloadPackageFile(ctx *context.Context)

DownloadPackageFile serves the content of a package

func ProvidePackageFileHeader

func ProvidePackageFileHeader(ctx *context.Context)

ProvidePackageFileHeader provides only the headers describing a package

func UploadPackageFile

func UploadPackageFile(ctx *context.Context)

UploadPackageFile adds a file to the package. If the package does not exist, it gets created.

Types

type MetadataResponse

type MetadataResponse struct {
	XMLName    xml.Name `xml:"metadata"`
	GroupID    string   `xml:"groupId"`
	ArtifactID string   `xml:"artifactId"`
	Release    string   `xml:"versioning>release,omitempty"`
	Latest     string   `xml:"versioning>latest"`
	Version    []string `xml:"versioning>versions>version"`
}

MetadataResponse https://maven.apache.org/ref/3.2.5/maven-repository-metadata/repository-metadata.html

Source Files

  • api.go
  • maven.go

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL