maven

package
v0.0.0-...-bbf16f2 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2019 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const CUSTOMER_ERRORS_PREFIX = "MVN"
View Source
const CentralRepo = "https://repo.maven.apache.org"
View Source
const EmptyString = ""

EmptyString is a constant value used to improve readability when a function needs to return empty strings.

View Source
const Repo = "./maven-repo"

Variables

View Source
var (
	DependencyFetchError = defineError(1, "Could'nt fetch dependency")
	FileCreateError      = defineError(2, "Could'nt create file path")
	FileWriteError       = defineError(3, "Could'nt write file")
)

Functions

func NewHandler

func NewHandler(config config.Conf) handler

Types

type Artifact

type Artifact struct {
	GroupID    string
	ArtifactID string
	Version    string
}

func (Artifact) String

func (artif Artifact) String() string

type ArtifactRequest

type ArtifactRequest struct {
	Artifact *Artifact
	File     string
}

func UrlResolve

func UrlResolve(param string) (*ArtifactRequest, error)

type ErrorResponse

type ErrorResponse struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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