Documentation
¶
Index ¶
Constants ¶
View Source
const ( ContentTypeFilePom = "text/xml" ContentTypeFileXml = "text/xml" ContentTypeFileJar = "application/java-archive" ContentTypeFileOther = "text/plain" )
View Source
const (
MavenCentralRepoUrl = "https://repo1.maven.org/maven2"
)
Variables ¶
Functions ¶
Types ¶
type MavenRepository ¶
type MavenRepository interface { FetchResource(uri string) ([]byte, string, error) MetaResource(uri string) (string, error) UploadResource(uri string, data []byte) error RemoveResource(uri string) error }
func NewMvnLocalCacheRepo ¶
func NewMvnLocalCacheRepo(conf config.MavenRepoConf, c *config.Config, sourceRepo MavenRepository) MavenRepository
func NewMvnProxyRepo ¶
func NewMvnProxyRepo(conf config.MavenRepoConf, c *config.Config) MavenRepository
Click to show internal directories.
Click to hide internal directories.