sonatype

package
v0.50.1 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2024 License: Apache-2.0 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