techradar

package
v0.1.18-rc22 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Open

func Open(user, password string) (*sql.DB, error)

Types

type Constraint

type Constraint struct {
	Group    string
	Artifact string
	Version  string
}

type Coordinate

type Coordinate struct {
	Group    string
	Artifact string
}

type Request

type Request struct {
	For  []Coordinate
	With []Constraint
	JDK  int64
}

type Service

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

func New

func New(db *sql.DB) *Service

func (*Service) Lookup

func (s *Service) Lookup(ctx context.Context, request Request) ([][]string, error)

Lookup requires validated, deduplicated inputs. The caller owns the lookup deadline.

Jump to

Keyboard shortcuts

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