sonatype

package
v0.0.0-...-fddc5ba Latest Latest
Warning

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

Go to latest
Published: May 26, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Option

type Option func(*Sonatype)

func WithHTTPClient

func WithHTTPClient(client *http.Client) Option

func WithURL

func WithURL(url string) Option

type Sonatype

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

func New

func New(opts ...Option) Sonatype

func (Sonatype) Exists

func (s Sonatype) Exists(groupID, artifactID string) (bool, error)

func (Sonatype) SearchByArtifactID

func (s Sonatype) SearchByArtifactID(artifactID string) (string, error)

func (Sonatype) SearchBySHA1

func (s Sonatype) SearchBySHA1(sha1 string) (jar.Properties, error)

Jump to

Keyboard shortcuts

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